On 18/11/2020 19:21, Benito van der Zander via fpc-pascal wrote: > where do the SEARCH_DIRs in link.res come from? > > My build has started failing, after trying it on a new computer with > "/home/benito/bin/arm-linux-androideabi-ld.bfd:android/libs/armeabi/link42815.res:17: > ignoring invalid character `'' in expression"
How are you specifying your cross-compilation sysroot? Make sure you use the -XR parameter for that, and not -Fl or so. -Fl just instructs the compiler/linker to add a directory to the list of standard directories to search, rather than to completely ignore your host system and only look for libraries in the hierarchy below the sysroot. Jonas _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal