mips-elf cross compiling need linux/xx.h?

Jong-Suk Lee astrix@zenus.com
Thu Jun 21 23:49:00 GMT 2001


Hi
I would like to newlib-1.9.0 to target=mips-elf.

I compiled bintutil and gcc for cross compiling.

when I make newlib :

mips-elf-gcc -B/home/astrix/gcc/newlib-1.9.0/mips-elf/newlib/ -isystem
/home/astrix/gcc/newlib-1.9.0/mips-elf/newlib/targ-include -isystem
/home/astrix/gcc/newlib-1.9.0/newlib/libc/include  -I. -I./.. `if [ -d
./../../newlib ]; then
echo -I./../../newlib/targ-include -I./../../newlib/libc/include;
fi` -O2 -I. -I./.. -c -g -O2 close.c
In file included from ../../newlib/libc/include/time.h:32,
                 from ../../newlib/libc/include/sys/reent.h:14,
                 from ../../newlib/targ-include/sys/errno.h:11,
                 from ../../newlib/libc/include/errno.h:1,
                 from close.c:8:
../../newlib/targ-include/sys/types.h:27:25: linux/types.h: file not found

Could somebody help me?

Best regards

Jong-Suk Lee

astrix@zenus.com



More information about the Newlib mailing list