cannot compile gcc 2.95.3 for mips-elf

David Taffs
Wed Oct 31 12:26:00 GMT 2001

Hi folks!

This sure is a great list, and it looks like the right place to discuss my
problem, which is that I can't compile gcc 2.95.3 for mips-elf (is this a
supported target?).

I am using these versions (although the last two don't matter since I didn't
get that far):


I get the following error(s) compiling gcc:

../../../gcc-2.95.3/gcc/fixinc/fixincl.c: In function `initialize':
../../../gcc-2.95.3/gcc/fixinc/fixincl.c:349: `SIGIOT' undeclared (first use
in this function)
../../../gcc-2.95.3/gcc/fixinc/fixincl.c:349: (Each undeclared identifier is
reported only once
../../../gcc-2.95.3/gcc/fixinc/fixincl.c:349: for each function it appears
make[2]: *** [fixincl.o] Error 1
../../../gcc-2.95.3/gcc/f/com.c: In function
../../../gcc-2.95.3/gcc/f/com.c:1599: warning: unused parameter `expr2'
xgcc: installation problem, cannot exec `mips-tfile': No such file or
make[1]: *** [libgcc1-asm.a] Error 1
make: *** [all-gcc] Error 2

I did the following (on my W2K host), which seems perfectly kosher:

../binutils-2.11.2/configure --target=mips-elf --prefix=/usr/local/gcc-2-95-3/
 -v 2>errlist.txt 1>outlist.txt
/usr/gcc-2-95-3/source-repository/build-binutils> make 2>make-err.txt
/usr/gcc-2-95-3/source-repository/build-binutils> make install 2>inst-err.txt
/usr/gcc-2-95-3/source-repository/build-binutils> cd ../build-gcc/
../gcc-2.95.3/configure --target=mips-elf --prefix=/usr/local/gcc-2-95-3/ -v
2>conf-err.txt 1>conf-out.txt
/usr/gcc-2-95-3/source-repository/build-gcc> make 2>gcc-make-err.txt

BTW, I also got an error during the make of binutils:

Configuring for a i686-pc-cygwin host.
../../binutils-2.11.2/bfd/configure: cannot open
../../binutils-2.11.2/bfd/po/ no such file

And indeed there is no such file in the downloaded binutils-2.11.2.tar.gz --
that directory only contains bfd.pot and Make-in. In the (post-configure,
post-build) build area, that directory also contains and

I am including the relevant files -- in deference to bandwidth, I'm not
sending the stdout listings, but they don't seem to have anything interesting

Thanks in advance for your help (I hope!)...

regards, david taffs

More information about the crossgcc mailing list