Building a cross compiler for i686-wrs-vxworks on cygwin

Kevin.Hughes@icl.com Kevin.Hughes@icl.com
Fri Jul 23 07:55:00 GMT 1999


I have been trying to build a cross compiler using the latest snapshot
(18/07/99). I have managed to build gcc - and it appears to work, but I
cannot build g++. I get

./xgcc -B./ -B/gnu/tornado/i686-wrs-vxworks/bin/
-I/gnu/tornado/i686-wrs-vxworks/include -O2  -DCROSS_COMPILE -DIN_GCC     -g
-I./include   -g1 -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED
-I. -I. -I./config -I./../include \
  -c ./cp/tinfo.cc

In file included from ./cp/tinfo.cc:32:
/gnu/tornado/i686-wrs-vxworks/include/new:28: `operator new' takes type
`size_t' as first parameter
/gnu/tornado/i686-wrs-vxworks/include/new:29: `operator new' takes type
`size_t' as first parameter
/gnu/tornado/i686-wrs-vxworks/include/new:32: `operator new' takes type
`size_t' as first parameter
/gnu/tornado/i686-wrs-vxworks/include/new:33: `operator new' takes type
`size_t' as first parameter
/gnu/tornado/i686-wrs-vxworks/include/new:38: `operator new' takes type
`size_t' as first parameter
/gnu/tornado/i686-wrs-vxworks/include/new:39: `operator new' takes type
`size_t' as first parameter
make[1]: *** [tinfo.o] Error 1
make: *** [libgcc2.a] Error 1

The file /gnu/tornado/i686-wrs-vxworks/include/new is the one which came
with the gnu distribution (I copied it in when the one there, from the
Tornado2 release, exhibit the same fault and appeared an untouched GNU file)


Any suggestions much appreciated


Kevin


More information about the Gcc-bugs mailing list