Can't exec mips-tfile

Martin Rivers rivers@lexmark.com
Wed Dec 10 23:39:00 GMT 2003


I am attempting to build a cross compiler for target mips-elf (mips-unknown-elf)
with a linux redhat 8.0 system as host (i686-pc-linux-gnu).  The host gcc is
3.2.  I have downloaded binutils 2.14 and gcc 3.3.2 and use the configure line:

configure --enable-languages=c --target=mips-elf
--prefix=/users/rivers/mips-3.3.2

Followed by

gmake all install

During the build of gcc, the following error is reported:

if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
/users/rivers/mips-3.3.2/build-gcc/gcc/xgcc
-B/users/rivers/mips-3.3.2/build-gcc/gcc/
-B/users/rivers/mips-3.3.2/mips-elf/bin/
-B/users/rivers/mips-3.3.2/mips-elf/lib/ -isystem
/users/rivers/mips-3.3.2/mips-elf/include -O2  -DIN_GCC -DCROSS_COMPILE   -W
-Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem
./include  -G 0 -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I.
-I../../gcc-3.3.2/gcc -I../../gcc-3.3.2/gcc/. -I../../gcc-3.3.2/gcc/config
-I../../gcc-3.3.2/gcc/../include -DL_m16addsf3 -xassembler-with-cpp -c
../../gcc-3.3.2/gcc/config/mips/mips16.S -o libgcc/./_m16addsf3.o
xgcc: installation problem, cannot exec `mips-tfile': No such file or directory
gmake[2]: *** [libgcc/./_m16addsf3.o] Error 1
gmake[2]: Leaving directory `/users/rivers/mips-3.3.2/build-gcc/gcc'
gmake[1]: *** [stmp-multilib] Error 2
gmake[1]: Leaving directory `/users/rivers/mips-3.3.2/build-gcc/gcc'
gmake: *** [all-gcc] Error 2

This is the first invocation of the just built cross compiler (as far as I can
tell from the output of the build).  Is this a known problem?  Is there anything
I'm doing on my side to correct this?  (I have built a powerpc compiler using
the same 3.3.2 sources and same configure line (expect powerpc instead of mips)
without problem).





More information about the Gcc-bugs mailing list