public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* How do I build gcc3.0 for PowerPC VxWorks target?.
@ 2001-07-28  7:42 Rajasekhar Sunkara
  0 siblings, 0 replies; only message in thread
From: Rajasekhar Sunkara @ 2001-07-28  7:42 UTC (permalink / raw)
  To: 'gcc-help@gcc.gnu.org'

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-07-28  7:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-28  7:42 How do I build gcc3.0 for PowerPC VxWorks target? Rajasekhar Sunkara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).