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

Marco van de Voort marcov at stack.nl
Thu Oct 4 14:02:33 CEST 2012


In our previous episode, Mark Morgan Lloyd said:
> This is an "out of interest" question rather than being particularly 
> important. I've managed to get my hands on an Itanium-based system for 
> my collection, and find that it runs the x86 Linux variant of FPC fairly 
> happily. However, GNU as and so on clearly don't know about x86 
> assembler: they expect the monstrosity that is IA-64.
> 
> I could obviously build appropriate binutils with the conventional 
> naming prexies, but what is the preferred way of telling FPC/PPC which 
> binutils to use?

http://www.stack.nl/~marcov/buildfaq/#toc-Subsection-1.6.3

> Is that where the CPU_TARGET and OS_TARGET shell 
> variables come itno it, or are they only for use in makefiles?

http://www.stack.nl/~marcov/buildfaq/#toc-Section-1.6 point 5 in the list.

IIRC there is also a CROSSBINUTILSPREFIX in case you only have to override
it for the "cross" part.



More information about the fpc-pascal mailing list