Jonas:
You probably have to apply similar changes as I did in FPC in http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revision&revision=2578...
The above problem in particular generally stems from compiling with -pg (so that gcrt1.o is linked in) but without passing "-no_new_main" to the linker for 10.8 and later. Search for -no_new_main in http://llvm.org/svn/llvm-project/cfe/trunk/lib/Driver/ToolChains.cpp (this code/info was previously in the clang file linked from the commit message above)
I have no clue as to what to do. What are the exact steps needed?
Tom
Thomas D. Schneider, Ph.D. Senior Investigator National Institutes of Health National Cancer Institute Center for Cancer Research Gene Regulation and Chromosome Biology Laboratory Molecular Information Theory Group Frederick, Maryland 21702-1201 schneidt@mail.nih.gov http://schneider.ncifcrf.gov/ (current link) http://alum.mit.edu/www/toms (permanent link)