[fpc-pascal] Running FPC on a system that supports multiple architectures
Marco van de Voort
marcov at stack.nl
Fri Oct 5 13:41:58 CEST 2012
In our previous episode, Mark Morgan Lloyd said:
> >
> > IIRC there is also a CROSSBINUTILSPREFIX in case you only have to override
> > it for the "cross" part.
>
> Thanks Marco, I'd missed -XP since I was mistakenly looking at the -A
> section.
>
> For information, it works, but I'm getting an error when it calls the
> linker. If I link using a script it's fine:
1. IIRC FPC uses a builtin list of paths and -FD paths
2. The shell might use its own $PATH.
Solution, pass -FD or CROSSBINDIR (or something, search in makefile)
More information about the fpc-pascal
mailing list