Re: gpc compiler failed on Mac OS X 10.9.1
Adriaan van Os <[email protected]>
| Newsgroups | gmane.comp.compilers.gpc |
|---|---|
| Message-ID | <[email protected]> |
Jonas Maebe wrote: > You probably have to apply similar changes as I did in FPC in > http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revision&revision=25789 > > 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) Thanks for the info. I had expected something in that direction, but that saves me time finding out the details. Regards, Adriaan van Os _______________________________________________ Gpc mailing list [email protected] https://www.g-n-u.de/mailman/listinfo/gpc