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: [Patch] CT 0.3 - glibc-2.2.5-allow-gcc-4.0-mipsel





I copied the relevant sections out of
http://kegel.com/crosstool/crosstool-0.29/patches/glibc-2.3-20050307/glibc-2.3.4-allow-gcc-4.0-powerpc64.patch
for a mipsel target.

The build still fails, but now with an assembler error at crtbegin.o.

Build log follows:

[snip many arguments to xgcc]


  -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions
-fno-zero-initialized-in-bss -fno-unit-at-a-time  \
-Dinhibit_libc -c
/home/administrator/src/crosstool/crosstool/build/mipsel-unknown-linux-gnu/gcc-4.0-20050305-glibc-2.2.5/gcc-4.0-20050305/gcc/crtstuff.c
-DCRT_BEGIN \
  -o crtbegin.o
as: unrecognized option `-EL'
make[1]: *** [crtbegin.o] Error 1
make[1]: Leaving directory
`/home/administrator/src/crosstool/crosstool-0.30/bui
ld/mipsel-unknown-linux-gnu/gcc-4.0-20050305-glibc-2.2.5/build-gcc-core/gcc'
make: *** [all-gcc] Error 2


Did you use crosstool.sh, or otherwise made sure that mipsel-unknown-linux-gnu-as is in your path? This looks like gcc's configure could not find the correct assembler in the path. Either that, or the options [target-]as takes have changed recently and the gcc and binutils versions you are currently using are incompatible...


Check gcc's config.log for the line "checking for mipsel-unknown-linux-gnu-as... <result>"


HTH,


Arno

------
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]