[fpc-pascal] Freepascal on OSX 10.9 Mavericks $LINKLIB gcc broken

md at rpzdesign.com md at rpzdesign.com
Mon Mar 10 04:32:48 CET 2014


Now that OSX Mavericks 10.9 is running full speed, it has broken the
{$LINKLIB gcc} compiler directive.

{$LINKLIB c} still WORKS.
But {$LINKLIB gcc} does not.

The reason is that Mavericks does not use GCC any more, it is using clang,
a new compiler.

So now Freepascal users need to know how to resolve errors:

Undefined symbols for architecture i386:
"___divdi3", referenced from libmystatic.a,
"___moddi3", referenced from libmystatic.a, etc...

ANybody got ideas?

I tried {$LINKLIB clang}, it does not exist.

Thanks for any ideas,

Marco

  








More information about the fpc-pascal mailing list