This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: build cross gcc for ppc with glibc


Hello,


> I need to build a cross-gcc to compile PPC stuff on a i386 box (with
> Altivec extensions).
> 
> The problem is that the compilation of gcc (make bootstrap) ends with
> this:
> -------------------------------------------
[snip]
> as: unrecognized option `-ppc'
> make[3]: *** [libgcc2.a] Error 1
> make[3]: Leaving directory
> `/home/mobileye/work/Altivec/gcc-2.95.2.orig/gcc-2.95.2/build/gcc'
> make[2]: *** [stmp-multilib-sub] Error 2
> make[2]: Leaving directory
> `/home/mobileye/work/Altivec/gcc-2.95.2.orig/gcc-2.95.2/build/gcc'
> make[1]: *** [stmp-multilib] Error 1
> make[1]: Leaving directory
> `/home/mobileye/work/Altivec/gcc-2.95.2.orig/gcc-2.95.2/build/gcc'
> make: *** [bootstrap] Error 2
> ------------------------------------------------------------------
> 
> The as called here is the one from the cross-binutils which I 
> successfully
> installed previously. I also installed a glibc into the same prefix
> (--prefix=/usr/mobileye/Altivec).

Have you put this prefix (more exactly the ${prefix}/bin) in your path ?

And what are the commandline options you use for 'configure' ?

> PS: I don't want to build with newlib, however, I didn't find 
> any howto or
> FAQ how to properly build binutils/gcc/glibc for a cross 
> encironment from
> scratch.

Try http://crossgcc.billgatliff.com

I hope it helps you out. Let us know.

Best regards,
Jan


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]