linux-mips
[Top] [All Lists]

Re: cross compiling gcc for mips

To: "Maciej W. Rozycki" <macro@linux-mips.org>
Subject: Re: cross compiling gcc for mips
From: Fuxin Zhang <fxzhang@ict.ac.cn>
Date: Tue, 18 Jul 2006 20:47:44 +0800
Cc: qi tao <demon19840308@hotmail.com>, linux-mips@linux-mips.org
In-reply-to: <Pine.LNX.4.64N.0607181150160.31692@blysk.ds.pg.gda.pl>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <BAY122-F271C1ACCD1969B2F38611AAD630@phx.gbl> <Pine.LNX.4.64N.0607181150160.31692@blysk.ds.pg.gda.pl>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Thunderbird 1.5.0.4 (Windows/20060516)
They are "No such file or directory" :)

Maciej W. Rozycki 写道:
> 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 ==> error 1
>> make[1]: Leaving directory `/opt/cross_src4.1.1/gcc-build/gcc'
>> make: *** [all-gcc] 错误 2  ==> error 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>