This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

gcc 3.3.4 cross build for mipsel mischooses the `as' to run


Greetings.

I`ve got a trouble while crossbuilding gcc-3.3.4 for mipsel.

I configured gcc like that:

canopus:/src/gcc-obj$ ../gcc-3.3.4/configure --prefix=/opt/elcore --host=i386-linux --build=i386-linux --target=mipsel-linux

That`s what happened:

canopus:/src/gcc-obj$ make
make[1]: Entering directory `/src/gcc-obj/libiberty'
make[2]: Entering directory `/src/gcc-obj/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/src/gcc-obj/libiberty/testsuite'
make[1]: Leaving directory `/src/gcc-obj/libiberty'
make[1]: Entering directory `/src/gcc-obj/gcc'
(cd intl && make all)
make[2]: Entering directory `/src/gcc-obj/gcc/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/src/gcc-obj/gcc/intl'
/src/gcc-obj/gcc/xgcc -B/src/gcc-obj/gcc/ -B/opt/elcore/mipsel-linux/bin/ -B/opt/elcore/mipsel-linux/lib/ -isystem /opt/elcore/mipsel-linux/include -O2 -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -I. -I. -I../../gcc-3.3.4/gcc -I../../gcc-3.3.4/gcc/. -I../../gcc-3.3.4/gcc/config -I../../gcc-3.3.4/gcc/../include  -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss  \
  -Dinhibit_libc -c ../../gcc-3.3.4/gcc/crtstuff.c -DCRT_BEGIN \
  -o crtbegin.o
as: unrecognized option `-EL'
make[1]: *** [crtbegin.o] Error 1
make[1]: Leaving directory `/src/gcc-obj/gcc'
make: *** [all-gcc] Error 2

I.e. instead of running `mipsel-linux-as' it decided to use just plain `as'.

regards, Samium Gromoff


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