Hi
I am using egcs.1.0.2 as a cross compiler for
HOST=sparc-sun-solaris.2.5.1 , TARGET=mips-linux-elf
from a sparc-sun-solaris.2.5.1 m/c.
I am trying to get the cross development tools for this HOST/TARGET
environment.
I could do the following successfully
0) Had successfully installed binutils.2.8.1.
1) ./configure --prefix=/user/jupiter/tools --with-newlib --with-gnu-as
--target=mips-linux-elf
But on 'make LANGUAGES="c" ' I get the following error.
make LANGUAGES="c" |& tee t
CC="./xgcc -B./ -DCROSS_COMPILE -DIN_GCC -DSVR4 -g -I./include -I.
-I. -Iinclude -I/user/jupiter/tools/mips-linux-elf/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 -DSVR4
-g -I./include -I. -I. -Iinclude
-I/user/jupiter/tools/mips-linux-elf/include -E -I./ on st-dummy.c
make: *** [deduced.h] Error 1
I tried the follwing
1) Had put the Linux's kernel include files in
$(prefix)/mips-linux-elf/include directory.
But <stdio.h> is not available.
2) Had put the libc.2.0.6 's "include" directory in
$(prefix)/mips-linux-elf/include directory from the source distribution.
But header files are expected in "gnu" directory of libc.2.0.6
. This is not available. I face a bootstrap problem.
Downloaded the libc' from "ftp://ftp.linux.sgi.com/cvs/libc"
Thanks for the help
anand
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
|