[SPAM] [fpc-devel] Creating ppc386 from ppcx64

Jonas Maebe jonas.maebe at elis.ugent.be
Wed Jan 6 20:31:50 CET 2010


On 06 Jan 2010, at 20:15, Leonardo M. Ramé wrote:

> 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

I guess you are executing that command inside the fpc/compiler directory. You have to execute it in the top level fpc directory. And you don't need the "sudo" for the "make all", only for the "make install"


Jonas


More information about the fpc-devel mailing list