This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi,All: My host is linux-x86 and I want to compile a compiler for i386-wrs-vxworks. I executed following instruction: export TARGET=i386-wrs-vxworks export PREFIX=/home/st/vxworks-gnu export PATH=$PATH:${PREFIX}/bin cd /mnt/d/resource/linux/src/gcc/ /home/st/src/src/gcc-3.3/configure --target=$TARGET --prefix=$PREFIX --without-headers \ --with-newlib 2>&1 | tee config.log make all While compiling a error is reported as: ...... make[2]: Entering directory `/mnt/d/resource/linux/src/gcc/gcc' for d in libgcc; do \ if [ -d $d ]; then true; else /bin/sh /home/st/src/src/gcc-3.3/gcc/mkinstalldirs $d; fi; \ done if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi /mnt/d/resource/linux/src/gcc/gcc/xgcc -B/mnt/d/resource/linux/src/gcc/gcc/ -B/home/st/vxworks-gnu//i386-wrs-vxworks/bin/ -B/home/st/vxworks-gnu//i386-wrs-vxworks/lib/ -isystem /home/st/vxworks-gnu//i386-wrs-vxworks/include -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I/home/st/src/src/gcc-3.3/gcc -I/home/st/src/src/gcc-3.3/gcc/. -I/home/st/src/src/gcc-3.3/gcc/config -I/home/st/src/src/gcc-3.3/gcc/../include -fexceptions -c /home/st/src/src/gcc-3.3/gcc/unwind-dw2.c -o libgcc/./unwind-dw2.o In file included from /home/st/src/src/gcc-3.3/gcc/unwind-dw2.c:26: /home/st/src/src/gcc-3.3/gcc/unwind-pe.h: In function `size_of_encoded_value': /home/st/src/src/gcc-3.3/gcc/unwind-pe.h:76: warning: implicit declaration of function `abort' In file included from gthr-default.h:1, from /home/st/src/src/gcc-3.3/gcc/gthr.h:98, from /home/st/src/src/gcc-3.3/gcc/unwind-dw2.c:28: /home/st/src/src/gcc-3.3/gcc/gthr-vxworks.h:204:21: vxWorks.h: No such file or directory /home/st/src/src/gcc-3.3/gcc/gthr-vxworks.h:205:20: semLib.h: No such file or directory In file included from gthr-default.h:1, from /home/st/src/src/gcc-3.3/gcc/gthr.h:98, from /home/st/src/src/gcc-3.3/gcc/unwind-dw2.c:28: /home/st/src/src/gcc-3.3/gcc/gthr-vxworks.h: At top level: /home/st/src/src/gcc-3.3/gcc/gthr-vxworks.h:210: error: parse error before "__gthread_mutex_t" /home/st/src/src/gcc-3.3/gcc/gthr-vxworks.h:210: warning: type defaults to `int' in declaration of `__gthread_mutex_t' /home/st/src/src/gcc-3.3/gcc/gthr-vxworks.h:210: warning: data definition has no type or storage class /home/st/src/src/gcc-3.3/gcc/gthr-vxworks.h: In function `__ehdtor': make[2]: *** [libgcc/./unwind-dw2.o] Error 1 make[2]: Leaving directory `/mnt/d/resource/linux/src/gcc/gcc' make[1]: *** [libgcc.a] Error 2 make[1]: Leaving directory `/mnt/d/resource/linux/src/gcc/gcc' make: *** [all-gcc] Error 2 How to solve it? Thanks a lot! Song 2003-09-13 ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |