This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


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

Re: powerpc crosscompiler error


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


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