[fpc-pascal] Freepascal on OSX 10.9 Mavericks $LINKLIB gcc broken
md at rpzdesign.com
md at rpzdesign.com
Mon Mar 10 05:15:25 CET 2014
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, md at 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 at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
>
More information about the fpc-pascal
mailing list