[fpc-devel] Creating ppc386 from ppcx64

Leonardo M. Ramé martinrame at yahoo.com
Wed Jan 6 20:15:26 CET 2010

Hi, I'm trying to create a cross compiler from Linux-x86_64 to Linux-i386, to do this, I have installed the compiled version 2.4.0 from Ubuntu repositories, which is ppcx64, then got the compiler trunk version from svn.

To create the cross compiler, I'm following this guide: http://wiki.lazarus.freepascal.org/Cross_compiling#To_Linux

When I do "sudo make all CPU_TARGET=i386" I receive this message:

/usr/bin/fpc -Pi386 -XPi386-linux- -Xr -Fui386 -Fusystems -Fu../rtl -Fii386 -FEs
Error: ppc386 can't be executed, error message: Failed to execute "ppc386", err7
make: *** [ppc386] Error 1

Which is correct, since I don't have ppc386 installed. How can I create it?, is it correct to just create a symlink from ppcx64?

Thanks in advance,
Leonardo M. Ramé


More information about the fpc-devel mailing list