[fpc-pascal] ppc64le ABI problem
Sven Barth
pascaldragon at googlemail.com
Mon Aug 26 20:25:30 CEST 2019
<tobiasgiesen at gmail.com> schrieb am Mo., 26. Aug. 2019, 19:53:
> Hello,
>
> trying to recompile now ... since ppc64le support is not in 3.0.4, I
> suppose I need to use a more recent version to compile it. So there is
> no advantage in cross-compiling and I might as well try it with the
> latest native fpc compiler?
>
> So I need to fix compiler errors myself, is that correct, such as this:
> sysosh.inc(19,1) Error: Forward type not resolved "Boolean8"
> bugs.freepascal.org/view.php?id=35676
>
> I wonder how the precompiled FPC for ppc64le is made, if trunk
> cannot compile itself?
>
FPC 3.0.4 is still the latest release and thus currently the only supported
compiler. In case of ppc64le you need to indeed cross compile though as
long as you have the binutils it's as simple as
make clean all CPU_TARGET=ppc64le BINUTILSPREFIX=ppc64le-elf- FPMAKEOPT="-T
N" - j N
Whereby you need to adjust BINUTILSPREFIX to whatever prefix your binutils
have and N to e.g. your number of cores.
Regards,
Sven
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20190826/719763f9/attachment.html>
More information about the fpc-pascal
mailing list