public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Error in building 2.95.2 sparc-->i386 cross-compiler
@ 2000-07-27  9:14 Steven_Snyder
  2000-07-27 14:41 ` Alexandre Oliva
  0 siblings, 1 reply; 2+ messages in thread
From: Steven_Snyder @ 2000-07-27  9:14 UTC (permalink / raw)
  To: gcc-help

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Error in building 2.95.2 sparc-->i386 cross-compiler
  2000-07-27  9:14 Error in building 2.95.2 sparc-->i386 cross-compiler Steven_Snyder
@ 2000-07-27 14:41 ` Alexandre Oliva
  0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Oliva @ 2000-07-27 14:41 UTC (permalink / raw)
  To: Steven_Snyder; +Cc: gcc-help

On Jul 27, 2000, Steven_Snyder@3com.com wrote:

> I'm attempting to build a cross-compiler for use with the VxWorks OS:

> ./fixinc.sh: /autohome/ssnyder/tools/gcc-x86/i386-wrs-vxworks/sys-include: does not exist

You missed the --with-headers configure switch.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-07-27 14:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-07-27  9:14 Error in building 2.95.2 sparc-->i386 cross-compiler Steven_Snyder
2000-07-27 14:41 ` Alexandre Oliva

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).