powerpc crosscompiler error

Stefan Peter s.peter@elsoft.ch
Wed Dec 8 01:32:00 GMT 1999


At 11:53 07.12.99 -0800, Peter Popov wrote:

>done
>_muldi3
>as: unrecognized option `-ppc'
>make[3]: *** [libgcc2.a] Error 1
>make[3]: Leaving directory `/local/ppopov/gnu/b-powerpc-eabi/gcc'
>make[2]: *** [stmp-multilib-sub] Error 2
>make[2]: Leaving directory `/local/ppopov/gnu/b-powerpc-eabi/gcc'
>make[1]: *** [stmp-multilib] Error 1
>make[1]: Leaving directory `/local/ppopov/gnu/b-powerpc-eabi/gcc'
>make: *** [all-gcc] Error 
>2

This error stems from the newly created spec file for the cross compiler in 
the gcc build directory. The host compiler uses this spec file instead of 
the default one. I normally change the CC definition in the main Makefile 
to use the original spec file by using the -Bprefix switch. The exact 
prefix path you need to enter is displayed with "gcc -v".


Regards

Stefan

--
Elsoft AG       CH-5405 Daettwil    Switzerland   http://www.elsoft.ch
Tel. ++41 (0)56 493 33 77           Fax ++41 (0)56 493 30 20

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



More information about the crossgcc mailing list