This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
GCC 2.952 Cross-Compile
- To: gcc-help at gcc dot gnu dot org
- Subject: GCC 2.952 Cross-Compile
- From: ultan at cix dot compulink dot co dot uk (Ultan Henry)
- Date: Mon, 27 Mar 2000 15:16 +0100 (BST)
- Cc: ultan at cix dot compulink dot co dot uk
- Reply-To: ultan at cix dot compulink dot co dot uk
I'm trying to build a cross-compiler for a mips-tx39-elf
target (host and build = i386-pc-msdosdjgpp). I've built
and installed cross-binutils okay, but the GCC make fails as follows:
make.exe[4]: Entering directory `c:/gnu/gcc-2.952/build.tx/gcc'
/dev/c/gnu/gcc-2.952/build.tx/gcc/xgcc
-B/dev/c/gnu/gcc-2.952/build.tx/gcc/ -B/usr/local/mips-tx39-elf/bin/
-I/usr/local/mips-tx39-elf/include -O2 -DCROSS_COMPILE -DIN_GCC
-I./include -G 0 -g1 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -g -O2 -I.
-I/gnu/gcc-2.952/gcc -I/gnu/gcc-2.952/gcc/config
-I/gnu/gcc-2.952/gcc/../include \
-c /gnu/gcc-2.952/gcc/cp/tinfo.cc
In file included from /gnu/gcc-2.952/gcc/cp/tinfo.cc:32:
include/new:28: `operator new' takes type `size_t' as first parameter
include/new:29: `operator new' takes type `size_t' as first parameter
include/new:32: `operator new' takes type `size_t' as first parameter
include/new:33: `operator new' takes type `size_t' as first parameter
include/new:38: `operator new' takes type `size_t' as first parameter
include/new:39: `operator new' takes type `size_t' as first parameter
make.exe[4]: *** [tinfo.o] Error 1
make.exe[4]: Leaving directory `c:/gnu/gcc-2.952/build.tx/gcc'
make.exe[3]: *** [libgcc2.a] Error 1
make.exe[3]: Leaving directory `c:/gnu/gcc-2.952/build.tx/gcc'
make.exe[2]: *** [stmp-multilib-sub] Error 2
make.exe[2]: Leaving directory `c:/gnu/gcc-2.952/build.tx/gcc'
make.exe[1]: *** [stmp-multilib] Error 1
make.exe[1]: Leaving directory `c:/gnu/gcc-2.952/build.tx/gcc'
make.exe: *** [all-gcc] Error 2
Any ideas?