[fpc-pascal] Issue with Linking
Jonas Maebe
jonas.maebe at elis.ugent.be
Thu Aug 20 23:54:07 CEST 2015
Tomas Hajny wrote:
> I don't want to raise the confusion any further, especially if my
> knowledge of ARM is zero. However - are you sure that the output of target
> as displayed by FPC really shows the correct information reflecting the
> supported ABI?
$ ./bin/ppcarmhf2 -l noexisting.pp
Free Pascal Compiler version 2.6.4-dfsg+armhf [1970/01/03] for arm
Copyright (c) 1993-2014 by Florian Klaempfl and others
Target OS: Linux for ARMHF
Compiling noexisting.pp
Fatal: Can't open file "noexisting.pp"
(the weird compiler date is because I built it myself from the Debian
sources, and the date on this system is not set)
> I ask because a trunk cross-compiler built for armeb using
> make fullcycle shows "Linux for ARMEL" too (just like it does for the real
> ARMEL version)...
That's because the default compiler that gets built for PPC_TARGET=arm
is ARMEL these days, while originally it was ARMEB. The fullcycle target
in the Makefile has not been updated for that.
So yes, this is completely unrelated, as both of those compilers are in
fact ARMEL compilers.
Jonas
More information about the fpc-pascal
mailing list