On 11/23/18 2:48 PM, C Western wrote:
make distclean cycle OPT="-n" OS_TARGET=linux CPU_TARGET=i386 FPC=~/fpc/bootstrap/ppcx64

/home/ctcmw/fpc/trunk/fpcsrc/compiler/ppcross386 -Pi386 -XPi386-linux- -Xr -Fui386 -Fusystems -Fu../rtl/units/i386-linux -Fii386 -FEi386/bin/i386-linux -FUi386/units/i386-linux -n -di386 -dGDB -dBROWSERLOG -Fux86 -Sew    -di386 -dGDB -dBROWSERLOG -Fux86 -Sew pp.pas pp.pas(277,1) Error: Util i386-linux-ld not found, switching to external linking

I will try and generate a backtrace as suggested by Sven later.

No need to. The compiler does not crash. It cannot find i386-linux-ld.

You need the binutils for cross-compilation. See the buildfaq.

Or, create them yourself. Add the following bash-scripts somewhere in your path and make them executable: (Works on Fedora, might be different on other systems)

i386-linux-as:
--------------------------
#!/bin/bash
# name this file /usr/bin/i386-linux-as
as --32 $@
--------------------------

i386-linux-ld:

--------------------------
#!/bin/bash
# name this file /usr/bin/i386-linux-ld
ld -A elf32-i386 $@
--------------------------


Regards,

Joost.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to