This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

error compiling cross gcc


I tried yet again to compile xgcc for m68k-vxworks, but I am getting compilation
errors that I don't really understand.  Here's what I did:

untarred gcc-2.8.1
made a subdirectory called obj
cd to obj
../configure --target=m68k-vxworks --prefix=/opt/xgcc -v (worked fine)
gmake  LANGUAGES=c

where I get the errors:

gmake[1]: Leaving directory `/tmp/gcc-2.8.1/obj'
touch stmp-multilib
CC="./xgcc -B./ -DCROSS_COMPILE -DIN_GCC     -I./include     -I. -I.. -Iinclude
-I/opt/xgcc/m68k-vxworks/include"; \
  export CC; \
  /bin/sh ../scan-types.sh ".." >tmp-deduced.h
st-dummy.c:1: sys/types.h: No such file or directory
st-dummy.c:4: stdio.h: No such file or directory
st-dummy.c:5: time.h: No such file or directory
st-dummy.c:6: signal.h: No such file or directory
scan-types: could not invoke ./xgcc -B./ -DCROSS_COMPILE -DIN_GCC -I./include
-I. -I.. -Iinclude -I/opt/xgcc/m68k-vxworks/include -E -I../ on st-dummy.c
gmake: *** [deduced.h] Error 1


???? What is going on here? The host is running HPUX 10.20, but that shouldn't
matter, right?  I compiled binutils-2.9.1 in the same manner, and that seemed to
work ok.

ken
benderly @ vcd . hp . com
________________________________________________
To get help for the crossgcc list, send mail to
crossgcc-request@cygnus.com with the text 'help'
(without the quotes) in the body of the message.