How do I build gcc3.0 for PowerPC VxWorks target?.
Rajasekhar Sunkara
raja@calient.net
Sat Jul 28 07:42:00 GMT 2001
Hi,
I was trying to build C/C++ cross compiler
for PowerPC/vxworks target on a solaris box from
gcc3.0 source code. I was able to build and install
the latest version of binutils (2.11.2) for PowerPC
VxWorks target without any problems.
I ran configure on the gcc source code as follows:
./configure --target=powerpc-wrs-vxworks \
--with-included-gettext --with-gnu-as --with-gnu-ld \
--with-headers=$WIND_BASE/target/h --enable-languages=c,c++
I ran make like the following:
make LANGUAGES="c c++" all
I got the following error:
In file included from
/ccbackup/timon/try/local/powerpc-wrs-vxworks/sys-include/
types/vxANSI.h:44,
from /ccbackup/timon/try/gcc-3.0/gcc/include/stdio.h:66,
from tsystem.h:63,
from libgcc2.c:37:
/ccbackup/timon/try/gcc-3.0/gcc/include/types/vxCpu.h:209:2: #error CPU is
not d
efined correctly
make[2]: *** [libgcc/./_muldi3.o] Error 1
make[2]: Leaving directory `/ccbackup/timon/try/gcc-3.0/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/ccbackup/timon/try/gcc-3.0/gcc'
make: *** [all-gcc] Error 2
Am I missing something here?. Any help would be greatly
appreciated.
Thanks in advance,
-Raja
More information about the Gcc-help
mailing list