[fpc-pascal] Running FPC on a system that supports multiple architectures

Mark Morgan Lloyd markMLl.fpc-pascal at telemetry.co.uk
Fri Oct 5 14:29:19 CEST 2012

Marco van de Voort wrote:
> 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)

I'd not expect this to be a path problem since I've symlinked the 
assemblers into /usr/local/bin which is where ppc386 is, -vt output says 
that it's finding the binary and using an explicit -FD doesn't have an 
obvious effect.

Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

More information about the fpc-pascal mailing list