This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: mips-elf cross compiling need linux/xx.h?
- To: Jong-Suk Lee <astrix at zenus dot com>
- Subject: Re: mips-elf cross compiling need linux/xx.h?
- From: Jeff Johnston <jjohnstn at redhat dot com>
- Date: Fri, 22 Jun 2001 11:36:57 -0400
- CC: newlib at sourceware dot cygnus dot com
- References: <007501c0fae6$df3b6e50$c9edb5d2@zenus.com>
Jong-Suk,
What options did you specify when you configured gcc/binutils/newlib? You
are not using newlib's standard sys/types.h which should be used in this case.
-- Jeff J.
Jong-Suk Lee wrote:
> 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