[fpc-pascal] Compiler 2.20 for Arm
Marco van de Voort
marcov at stack.nl
Fri Sep 21 19:22:04 CEST 2007
> > > Install a newer version of ld which does support the --gc-sections flag.
>
> I found a Debian tool chain (http://www.emdebian.org/ -- binutils-arm-linux-gnu_2.18-
> 1_i386.deb). It works ok, but the linker gives some warnings
>
> /Fpc/ArmBin/ld: skipping incompatible /usr/lib/libgcc_s.so when searching for -lgcc_s
> /Fpc/ArmBin/ld: skipping incompatible /usr/lib/libpthread.so when searching for -lpthread
> /Fpc/ArmBin/ld: skipping incompatible /usr/lib/libpthread.a when searching for -lpthread
> /Fpc/ArmBin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl
> /Fpc/ArmBin/ld: skipping incompatible /usr/lib/libdl.a when searching for -ldl
> /Fpc/ArmBin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
> /Fpc/ArmBin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
>
> The output works, but I would not expect to get this warnings when I compile with
> " -Xd #Don't use standard library search path (needed for cross compile)"
>
> Am I missing something?
Try to build with -s and examine/post the ppas.sh and link.res file.
More information about the fpc-pascal
mailing list