[Lazarus] Cross-compiling without target libs

Kjow antispammoni at gmail.com
Mon Jul 19 12:47:19 CEST 2010


2010/7/18 Henry Vermaak <henry.vermaak at gmail.com>:
> Have you tried passing the --allow-shlib-undefined option to the linker?
>
> Henry

Thank you,

it partially worked. I had some errors with some target libs, so
adding --allow-shlib-undefined to arm-linux-ld options, all worked
(the other option is -L/path/to/target/libs).
If I use --allow-shlib-undefined only, I get linking errors (e.g.
/home/kjow/lazarus/fpc/binutils/ld: skipping incompatible
/usr/lib/libpthread.so when searching for -lpthread )

Is it possible without all target libs?

Regards,
Kjow




More information about the Lazarus mailing list