GCC cross compiler dependency
Ian Lance Taylor
iant@google.com
Fri Aug 20 16:17:00 GMT 2010
naveen yadav <yad.naveen@gmail.com> writes:
> I will explain some evidence.
>
> We build cross toolchain on two different host running with different
> GCC version's
> Our cross toolchain version is 4.4.1.
> GCC version on one host is 4.1 and on other it is 4.3.2
>
> so we observe one interesting thing the cross compiler Build on 4.1
> fail one test case that was passed when we build cross toolchain with
> 4.3.2(Host)
>
> so when I Increase the stack size. 'ulimit -S -s unlimited' using this
> command the testcase got pass with both cross toolchain.
>
> So I am suspecting there is Host environment effect building on Cross
> toolchain.
Sorry, in that sense, yes, you are correct: the compiler that you use to
build your compiler does make a difference in some cases.
Ian
> On Fri, Aug 20, 2010 at 3:44 AM, Ian Lance Taylor <iant@google.com> wrote:
>> naveen yadav <yad.naveen@gmail.com> writes:
>>
>>> I want to know is there any dependency of host environment to build a
>>> cross toolchain.
>>
>> I hope not.
>>
>>> Suppose I want to build GCC 4.4 for MIPS arch.
>>> 1.So is there some min version of GCC I need to keep on my host build
>>> server.So how can i found which is best for me.
>>> 2. or Some min kernel version I need to keep.
>>> 3. What is best and optimise way to build a cross toolchain.
>>
>> The kernel version is irrelevant.
>>
>> Ordinarily you will get best results by building your compiler with a
>> native build of the same compiler version.
>>
>> By the way, no need to send messages to both gcc-help@gcc.gnu.org and
>> gcc-help@gnu.org. Please send them only to gcc-help@gcc.gnu.org.
>> Thanks.
>>
>> Ian
>>
More information about the Gcc-help
mailing list