This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


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

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


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


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