Thanks Jonas, I went a step further. Now, when I just do "fpc", to I got this:
Error: ppc386 can't be executed, error message: Failed to execute "ppc386", error code: 127 What can be causing this? ...but I found the new ppc386 in /usr/local/lib/fpc/2.5.1/ppc386, so I tried to compile a sample program, and got this: ... ... /usr/bin/ld: warning: link.res contains output sections; did you forget -T? /usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl /usr/bin/ld: skipping incompatible /usr/lib/libdl.a when searching for -ldl /usr/bin/ld: skipping incompatible /usr/lib//libdl.so when searching for -ldl /usr/bin/ld: skipping incompatible /usr/lib//libdl.a when searching for -ldl /usr/bin/ld: cannot find -ldl Error: Error while linking Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted Any hint? Leonardo M. Ramé http://leonardorame.blogspot.com --- On Wed, 1/6/10, Jonas Maebe <jonas.ma...@elis.ugent.be> wrote: > From: Jonas Maebe <jonas.ma...@elis.ugent.be> > Subject: Re: [SPAM] [fpc-devel] Creating ppc386 from ppcx64 > To: "FPC developers' list" <fpc-devel@lists.freepascal.org> > Date: Wednesday, January 6, 2010, 5:31 PM > > 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_______________________________________________ > fpc-devel maillist - fpc-devel@lists.freepascal.org > http://lists.freepascal.org/mailman/listinfo/fpc-devel > _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel