How are you specifying your cross-compilation sysroot? Make sure you use the -XR parameter for that,
I use -Fl in ~/.fpc.cfg...When I use -XR nothing happens. The link.res is the same, except -Fl prepends the path to link.res and -XR just ignores it. (same for -Xr)
Benito
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal