This is the mail archive of the ecos-discuss@sourceware.cygnus.com mailing list for the eCos project.


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

Re: Problem when make gcc cross compiler for MIPS platform


Hi,

I tried to follow the instruction for Linux version,(I am using RH6.1), I
met following problem,

-------------------------------------------------------------
/src/gcc_build/gcc/xgcc -B/src/gcc_build/gcc/ -B/usr/local/cross/H-i686-pc-l
inux-gnu/mips64vr4300-elf/bin/ -I/usr/local/cross/H-i686-pc-linux-gnu/mips64
vr4300-elf/include -O2  -DCROSS_COMPILE -DIN_GCC    -g -O2 -isystem
./include  -G
0 -g1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I/src/gcc/e
gcs-20000530/gcc -I/src/gcc/egcs-20000530/gcc/config -I/src/gcc/egcs-2000053
0/gcc/../include -c fp-bit.c -o libgcc/./fp-bit.o
make
GCC_FOR_TARGET="/src/gcc_build/gcc/xgcc -B/src/gcc_build/gcc/ -B/usr/local/c
ross/H-i686-pc-linux-gnu/mips64vr4300-elf/bin/ -I/usr/local/cross/H-i686-pc-
linux-gnu/mips64vr4300-elf/include" \
  AR_FOR_TARGET="mips64vr4300-elf-ar" \
  AR_CREATE_FOR_TARGET="mips64vr4300-elf-ar  rc" \
  AR_EXTRACT_FOR_TARGET="" \
  AR_FLAGS_FOR_TARGET="" \
  CC="gcc" CFLAGS="-g -O2" \
  HOST_PREFIX="" \
  HOST_PREFIX_1="loser-" \
  LANGUAGES="c" \
  LIBGCC2_CFLAGS="-O2  -DCROSS_COMPILE -DIN_GCC    -g -O2 -isystem
/include  -G 0 -g1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc "
\
  MULTILIB_CFLAGS="" tinfo2.o
make[3]: Entering directory `/src/gcc_build/gcc'
/src/gcc_build/gcc/xgcc -B/src/gcc_build/gcc/ -B/usr/local/cross/H-i686-pc-l
inux-gnu/mips64vr4300-elf/bin/ -I/usr/local/cross/H-i686-pc-linux-gnu/mips64
vr4300-elf/include -O2  -DCROSS_COMPILE -DIN_GCC    -g -O2 -isystem
./include  -G
-g1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc   -g -O2 -I. -I/sr
c/gcc/egcs-20000530/gcc -I/src/gcc/egcs-20000530/gcc/config -I/src/gcc/egcs-
20000530/gcc/../include \
  -c /src/gcc/egcs-20000530/gcc/cp/tinfo2.cc
/src/gcc/egcs-20000530/gcc/cp/tinfo2.cc:31:33: stdlib.h: No such file or
directory
make[3]: *** [tinfo2.o] Error 1
make[3]: Leaving directory `/src/gcc_build/gcc'
make[2]: *** [libgcc/./tinfo2.o] Error 2
make[2]: Leaving directory `/src/gcc_build/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/src/gcc_build/gcc'
make: *** [install-gcc] Error 2
make: Leaving directory `/src/gcc_build'
-------------------------------------------------------------

Actually I found there is no header files in the include path
(-I/usr/local/cross/H-i686-pc-linux-gnu/mips64vr4300-elf/include ). Did I
miss any step to install the header file?

Thanks!

Best Regards,
-Ling



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