x86 cross compiler to i386-wrs-vxworks wont compile with CVS

Sean McNeil sean@mcneil.com
Thu Mar 30 15:39:00 GMT 2000


Hi,

I just attempted to compile CVS sources with

./configure --prefix=/usr --target=i386-wrs-vxworks

Among other problems, there appears to be a new define of INT_ASM_OP
that isn't declared for an aout target.  I had to place a

#define INT_ASM_OP ".long"

in gcc/config/i386/i386-aout.h to get past this.

I also have a problem with sys/resource.h not properly detected for a
cross compiler.  I'll have to look into this more.

Finally, I got the following while compiling:


/users/gcc/egcs/gcc/xgcc -B/users/gcc/egcs/gcc/
-B/usr/i386-wrs-vxworks/bin/ -I/usr/i386-wrs-vxworks/include -O2
-DCROSS_COMPILE -DIN_GCC    -g -O2 -I./include   -g1 -DHAVE_GTHR_DEFAULT
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED   -g -O2 -I. -I. -I./config
-I./../include \
  -c ./cp/tinfo.cc
In file included from ./cp/tinfo.cc:31:
cp/tinfo.h:198: Internal compiler error 73.
cp/tinfo.h:198: Please submit a full bug report.
cp/tinfo.h:198: See <URL: http://www.gnu.org/software/gcc/bugs.html > for
cp/tinfo.h:198: instructions.
make[2]: *** [tinfo.o] Error 1
make[2]: Leaving directory `/users/gcc/egcs/gcc'
make[1]: *** [libgcc2.a] Error 1
make[1]: Leaving directory `/users/gcc/egcs/gcc'
make: *** [all-gcc] Error 2

Cheers,
Sean




More information about the Gcc-bugs mailing list