This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
mips-elf cross compiling need linux/xx.h?
- To: <newlib at sourceware dot cygnus dot com>
- Subject: mips-elf cross compiling need linux/xx.h?
- From: "Jong-Suk Lee" <astrix at zenus dot com>
- Date: Fri, 22 Jun 2001 15:45:05 +0900
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