This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gcc arm-elf cross compile errors


Good Day,

I am attempting to compile a gcc cross compiler with TARGET=arm-elf. I seem
to be running across this error when building the bootstrap cross compiler:

"make all-recursive
Making all in intl
Making all in lib
Making all in makeinfo
(cd intl && make all)
if [ -d /usr/home/champ/arm/install/arm-elf/sys-include ];  then
CC="/usr/home/champ/arm/build-gcc/gcc/xgcc -B/usr/home/champ/arm/build-gcc/g
cc/ -B/usr/home/champ/arm/install/arm-elf/bin/ -I/usr/home/champ/arm/install
/arm-elf/include -DCROSS_COMPILE -DIN_GCC    -g -O2 -I./include     -I. -I..
/../gcc-2.95.3/gcc -Iinclude -I/usr/home/champ/arm/install/arm-elf/sys-inclu
de";  export CC;  /bin/sh ../../gcc-2.95.3/gcc/scan-types.sh
"../../gcc-2.95.3/gcc" >tmp-deduced.h;  mv tmp-deduced.h deduced.h;  else
touch deduced.h;  fi
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
/usr/home/champ/arm/build-gcc/gcc/xgcc -B/usr/home/champ/arm/build-gcc/gcc/ 
-B/usr/home/champ/arm/install/arm-elf/bin/ -I/usr/home/champ/arm/install/arm
-elf/include -D"

I am following the instructions from:
http://www.billgatliff.com/articles/gnu/gnu-arm7t/x56.html building as they
say on freeBSD4.4 x86. I have succesfully built the binutils package, but no
luck with gcc.

I have found all of the files that "st-dummy.c" cannot find, I have found
the program xgcc that "scan-types" could not invoke , and I've added them to
my path, still no luck.

As I am new to GNU and gcc, do any gurus have any advice?

~Thanks




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