delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/27/08:09:17

X-Envelope-From: ultan AT cix DOT compulink DOT co DOT uk
Date: Mon, 27 Mar 2000 13:08 +0100 (BST)
From: ultan AT cix DOT compulink DOT co DOT uk (Ultan Henry)
Subject: GCC 2.952 Cross-Compile
To: djgpp AT delorie DOT com
Cc: ultan AT cix DOT compulink DOT co DOT uk
Message-Id: <memo.845586@cix.compulink.co.uk>
X-Ameol-Version: 2.52.2000, Windows 98 4.10.1998 ( )
Reply-To: djgpp AT delorie DOT com

I'm trying to build a DJGPP hosted cross-compiler for a mips-tx39-elf 
target using the DJGPP GCC port v2.952 (source gcc2952s.zip). I've built 
and installed cross-binutils, 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?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019