After diving deeply into the dependency tree,
there are 2 libraries that are involved in this particular problem:
/usr/lib/libSystem.B.dylib
/usr/lib/libgcc_s.1.dylib
But I cannot figure out yet how to call up the libgcc_s.1.dylib
{$LINKLIB /usr/lib/gcc [many variations tried] }
The mystery continues....
md
On 3/9/2014 11:32 PM, m...@rpzdesign.com wrote:
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
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal