Re: [xml] Cross-compiling for PPC?




This is the script I use to build for an ARM platform.  I can't imagine
that PPC would be significantly different....

You probably don't want to use soft-float and change CC to whatever your
cross-compiler is called.

export CFLAGS="-msoft-float -L$ROOTDIR/$PLATFORM/lib
-I$ROOTDIR/../include"
export LDFLAG="-lz"
export CC=arm-linux-gcc


That got me pointed in the right direction. I needed to pass "-Xlinker
--rpath-link=<where my PPC libs are found>" to make configure happy.

Thanks!




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]