[fpc-pascal] Linking Problems while cross compiling for arm
Jonas Maebe
jonas.maebe at elis.ugent.be
Tue Dec 8 23:42:48 CET 2009
On 08 Dec 2009, at 23:25, Dariusz Mazur wrote:
> By the way:
> when XR path is set then XP should be default, but its not
-XP is set by /etc/fpc.cfg if the source cpu is different from the target CPU, and if the source and target OS are not both Darwin (because on Mac OS X, the default as/ld can assemble/link for all supported architectures). -XR has nothing to do with the naming of the assembler/linker.
> FPC search arm-linux-as
> maybe better search also "as" in <XR path>/bin/as
No, that would cause confusion. If you want the compiler to use as/ld there, then use -XP -FD<XR path>/bin (-XP without anything else will set the prefix to "nothing").
Jonas
More information about the fpc-pascal
mailing list