cannot compile gcc 2.95.3 for mips-elf

David Taffs dtaffs@xyronsemi.com
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):

binutils-2.11.2
gcc-2.95.3
newlib-1.8.2
gdb-4.18

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
in.)
make[2]: *** [fixincl.o] Error 1
../../../gcc-2.95.3/gcc/f/com.c: In function
`ffecom_possible_partial_overlap_':
../../../gcc-2.95.3/gcc/f/com.c:1599: warning: unused parameter `expr2'
xgcc: installation problem, cannot exec `mips-tfile': No such file or
directory
make[1]: *** [libgcc1-asm.a] Error 1
make: *** [all-gcc] Error 2


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

/usr/gcc-2-95-3/source-repository/build-binutils>
../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
1>make-out.txt
/usr/gcc-2-95-3/source-repository/build-binutils> make install 2>inst-err.txt
1>inst-out.txt
/usr/gcc-2-95-3/source-repository/build-binutils> cd ../build-gcc/
/usr/gcc-2-95-3/source-repository/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
1>gcc-make-out.txt
/usr/gcc-2-95-3/source-repository/build-gcc>

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/POTFILES.in: 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 BLD-POTFILES.in and
SRC-POTFILES.in.

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
anyway.

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

--
regards, david taffs
360.449.8816
dtaffs@xyronsemi.com
www.xyronsemi.com




More information about the crossgcc mailing list