From: eplmst AT lu DOT erisoft DOT se (Martin Stromberg) Newsgroups: comp.os.msdos.djgpp Subject: Re: GCC 2.952 Cross-Compile Date: 28 Mar 2000 11:42:47 GMT Organization: Ericsson Erisoft AB, Sweden Lines: 43 Message-ID: <8bq5rn$9ci$1@antares.lu.erisoft.se> References: NNTP-Posting-Host: lws256.lu.erisoft.se X-Newsreader: TIN [version 1.2 PL2] To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Ultan Henry (ultan AT cix DOT compulink DOT co DOT uk) wrote: : 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? Yeah! Move the cross-compiler(?) to a directory other than "/dev". "/dev" will not work with DJGPP. Right, MartinS