[Fwd: cross compile gcc 3 in cygwin for vxworks]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

I am attempting to cross compile gcc 3 under cygwin for
powerpc-wrs-vxworks following the instructions here:
http://www.lysergic.u-net.com/faqdocs.html .  I am not using the patches
mentioned in the docs and my version numbers are greater:

cygwin gcc: 3.4.4
windows version: xp pro, sp1
binutils: 2.16
gcc attempting to build: 3.4.4

The binutils build is clean and easy; no problems.  The gcc build fails
after a good distance into the build.  The error is below, full configure
and make outputs can be found at:

http://underdogma.net/~matt/files/make.log
http://underdogma.net/~matt/files/conf.log

I would be happy building any gcc 3 if one is known to work.  Building it
on a different version of windows may also be an option as long as it will
still work under 2000 and xp.  Any ideas what is going on here?

Thanks,
Matt Harrington



make[2]: Entering directory `/home/matt/gcc-build/gcc'
for d in libgcc PPC403gnu libgcc/PPC403gnu PPC405gnu libgcc/PPC405gnu
PPC440gnu libgcc/PPC440gnu PPC603gnu libgcc/PPC603gnu PPC860gnu
libgcc/PPC860gnu; do \
  if [ -d $d ]; then true; else /bin/sh /gcc-src/gcc/mkinstalldirs $d; fi; \
done
mkdir -p -- libgcc
mkdir -p -- PPC403gnu
mkdir -p -- libgcc/PPC403gnu
mkdir -p -- PPC405gnu
mkdir -p -- libgcc/PPC405gnu
mkdir -p -- PPC440gnu
mkdir -p -- libgcc/PPC440gnu
mkdir -p -- PPC603gnu
mkdir -p -- libgcc/PPC603gnu
mkdir -p -- PPC860gnu
mkdir -p -- libgcc/PPC860gnu
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
/home/matt/gcc-build/gcc/xgcc -B/home/matt/gcc-build/gcc/
-B/usr/local/powerpc-wrs-vxworks/bin/
-B/usr/local/powerpc-wrs-vxworks/lib/ -isystem
/usr/local/powerpc-wrs-vxworks/include -isystem
/usr/local/powerpc-wrs-vxworks/sys-include -O2
"-I/usr/local/lib/gcc/powerpc-wrs-vxworks/3.4.4/../../../../powerpc-wrs-vxworks/sys-include"
-DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition  -isystem ./include   
-DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I.
-I/gcc-src/gcc -I/gcc-src/gcc/. -I/gcc-src/gcc/../include -I../intl 
-DL_muldi3 -c /gcc-src/gcc/libgcc2.c -o libgcc/./_muldi3.o
In file included from
/usr/local/powerpc-wrs-vxworks/sys-include/types/vxANSI.h:44,
                 from /home/matt/gcc-build/gcc/include/stdio.h:66, from
/gcc-src/gcc/tsystem.h:79,
                 from /gcc-src/gcc/libgcc2.c:41:
/home/matt/gcc-build/gcc/include/types/vxCpu.h:370:2: #error CPU is not
defined correctly
In file included from ./tm.h:9,
                 from /gcc-src/gcc/libgcc2.c:43:
/gcc-src/gcc/config/vxworks.h:46:1: warning: "HANDLE_SYSV_PRAGMA"
redefined In file included from ./tm.h:5,
                 from /gcc-src/gcc/libgcc2.c:43:
/gcc-src/gcc/config/elfos.h:67:1: warning: this is the location of the
previous definition
make[2]: *** [libgcc/./_muldi3.o] Error 1
make[2]: Leaving directory `/home/matt/gcc-build/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/home/matt/gcc-build/gcc'
make: *** [all-gcc] Error 2



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux