[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [xml] Cross-compiling for PPC?
- From: David Hagood <wowbagger sktc net>
- To: "Yan Seiner" <yan seiner com>
- Cc: xml gnome org
- Subject: Re: [xml] Cross-compiling for PPC?
- Date: Fri, 1 Dec 2006 14:43:52 -0600 (CST)
>
> 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]