Error in building 2.95.2 sparc-->i386 cross-compiler

Steven_Snyder@3com.com Steven_Snyder@3com.com
Thu Jul 27 09:14:00 GMT 2000


I'm attempting to build a cross-compiler for use with the VxWorks OS:
host=sparc-sun-solaris, target=i386-wrs-vxworks.

Software versions used:

  GCC host: v2.95.2 (sparc)
  GCC targ: v2.95.2 (i386)
  Gnumake:  v3.79.1 (sparc)
  binutils: v2.10 (sparc)

I configured the cross-compiler like this:

./configure --prefix=/autohome/ssnyder/tools/gcc-x86 --enable-shared
--target=i386-wrs-vxworks
make bootstrap-lean

And this is the error I end up getting:

/autohome/ssnyder/tools/gcc-sparc/bin/gcc -o fixincl fixincl.o server.o
gnu-regex.o procopen.o ../../libiberty/libiberty.a
cp fixincl.sh ../fixinc.sh
cp fixincl ..
make[3]: Leaving directory `/autohome/ssnyder/gcc-2.95.2/gcc/fixinc'
rm -rf include; mkdir include
TARGET_MACHINE=i386-wrs-vxworks; srcdir=`cd .; pwd`; \
INSTALL_ASSERT_H=install-assert-h; SHELL=/bin/sh ;\
export TARGET_MACHINE srcdir INSTALL_ASSERT_H SHELL ; \
/bin/sh ./fixinc.sh `pwd`/include
/autohome/ssnyder/tools/gcc-x86/i386-wrs-vxworks/sys-include
Fixing headers into /autohome/ssnyder/gcc-2.95.2/gcc/include for
i386-wrs-vxworks target
./fixinc.sh: /autohome/ssnyder/tools/gcc-x86/i386-wrs-vxworks/sys-include: does
not exist
make[2]: *** [stmp-fixinc] Error 1
make[2]: Leaving directory `/autohome/ssnyder/gcc-2.95.2/gcc'
make[1]: *** [bootstrap-lean] Error 2
make[1]: Leaving directory `/autohome/ssnyder/gcc-2.95.2/gcc'
make: *** [bootstrap-lean] Error 2

As you can from the above text, fixinc.sh is looking for file "sys-include" in a
 subdirectory that does not yet exist.  The directory "i386-wrs-vxworks" has not
 yet been created beneath my stated prefix of path
/autohome/ssnyder/tools/gcc-x86".

Advice anyone?  Thank you.




More information about the Gcc-help mailing list