[fpc-pascal] link.res search dirs when cross compiling
jonas at freepascal.org
Wed Nov 18 20:01:20 CET 2020
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
> 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.
More information about the fpc-pascal