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] |
Daniel Zajc wrote: > > I am trying to create a cross compiler from gcc 2.95.2 sources. > > Then off to my build dir: > cd /usr/local/cross-gcc/build/gcc > ../../src/gcc-2.95.2/configure --target=$target --prefix=$prefix > --with-newlib \ Here you made some error... The $prefix was probably empty and somehow it took the '--with-newlib' as the 'prefix', seeing it as "--prefix=--with-newlib" > echo ${name}; \ > /usr/local/cross-gcc/build/gcc/gcc/xgcc > -B/usr/local/cross-gcc/build/gcc/gcc/ -B--with-newlib/powerpc-eabi/bin/ > -I--with-newlib/powerpc-eabi/include -O2 -DCROSS_COMPILE -DIN_GCC The '-B--with-newlib/powerpc-eabi/bin/' is just pure bullshit... > _muldi3 > as: unrecognized option `-ppc' > make[3]: *** [libgcc2.a] Error 1 So it isn't a big wonder that it cannot find the assembler, and uses the native one instead. The directory should have been given with the option '-B/usr/local/cross-gcc/target/powerpc-eabi/bin/', your 'powerpc-eabi' target 'as' should be there. Cheers, Kai ------ 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] |