linux-mips
[Top] [All Lists]

Re: cross compiling gcc for mips

To: qi tao <demon19840308@hotmail.com>
Subject: Re: cross compiling gcc for mips
From: "Maciej W. Rozycki" <macro@linux-mips.org>
Date: Tue, 18 Jul 2006 11:53:13 +0100 (BST)
Cc: linux-mips@linux-mips.org
In-reply-to: <BAY122-F271C1ACCD1969B2F38611AAD630@phx.gbl>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <BAY122-F271C1ACCD1969B2F38611AAD630@phx.gbl>
Sender: linux-mips-bounce@linux-mips.org
On Tue, 18 Jul 2006, qi tao wrote:

> However when I do "make all-gcc" I get the following errors:
>  
> 
>  -c ../../gcc-4.1.1/gcc/crtstuff.c -DCRT_BEGIN \
>  -o crtbegin.o
> In file included from ../../gcc-4.1.1/gcc/crtstuff.c:68:
> .../../gcc-4.1.1/gcc/tsystem.h:90:19: error: stdio.h: 没有那个文件或目录
> .../../gcc-4.1.1/gcc/tsystem.h:93:23: error: sys/types.h: 没有那个文件或目录
> .../../gcc-4.1.1/gcc/tsystem.h:96:19: error: errno.h: 没有那个文件或目录
> .../../gcc-4.1.1/gcc/tsystem.h:103:20: error: string.h: 没有那个文件或目录
> .../../gcc-4.1.1/gcc/tsystem.h:104:20: error: stdlib.h: 没有那个文件或目录
> .../../gcc-4.1.1/gcc/tsystem.h:105:20: error: unistd.h: 没有那个文件或目录
> In file included from
> /opt/cross_src4.1.1/gcc-build/./gcc/include/syslimits.h:7,
>                 from /opt/cross_src4.1.1/gcc-build/./gcc/include/limits.h:11,
>                 from ../../gcc-4.1.1/gcc/tsystem.h:108,
>                 from ../../gcc-4.1.1/gcc/crtstuff.c:68:
> /opt/cross_src4.1.1/gcc-build/./gcc/include/limits.h:122:61: error: limits.h:
> 没 有那个文件或目录
> In file included from ../../gcc-4.1.1/gcc/crtstuff.c:68:
> .../../gcc-4.1.1/gcc/tsystem.h:111:18: error: time.h: 没有那个文件或目录
> make[1]: *** [crtbegin.o] 错误 1
> make[1]: Leaving directory `/opt/cross_src4.1.1/gcc-build/gcc'
> make: *** [all-gcc] 错误 2
> 
> what should i do??  thanks for your help ! thank you

 It would raise the probability of someone being able to provide you some 
help if you set your locale to English before reporting error messages.

  Maciej
<Prev in Thread] Current Thread [Next in Thread>