cross compiling for PPC7400/Linux on Solaris 8

Jean-Christophe Dubois jdubois@mc.com
Mon Jun 28 15:28:00 GMT 2004


On Mon, 2004-06-28 at 16:11, Dan Kegel wrote:
> Jean-Christophe Dubois wrote:
> > Hi,
> > 
> > I manage to generate the cross tool chain for GCC 3.4.0/GLIBC
> > 2.3.2/Binutils 2.14 on my Solaris 8 systems. All seems to be well.
> > 
> > But I then tried to cross-compile the linux kernel and ran into some
> > problem. You can find the verbose trace bellow. It looks like there is a
> > problem in the way gcc calls as. In my case as is called with "-mppc
> > -maltivec -many". While the 2 first one seems OK, the last one "-many"
> > prevent as from decoding correctly the "mftbX" operation that are
> > generated under #APPS #NO_HAPPS in the assembly file.
> 
> BTW, have you tried binutils-2.15 with this patch yet?
> http://kegel.com/crosstool/crosstool-0.28-rc25/patches/binutils-2.15/binutils-2.15-vmx.patch

Well, for some reason (not yet identified), the cross binutils I
generate with 2.15 crash on me (host Solaris 2.8, target ppc 7400). So I
downgraded to 2.14 which works OK for me (so it seems).

JC

> - Dan


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list