Thanks Ian for your answer. 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. Thanks On Fri, Aug 20, 2010 at 3:44 AM, Ian Lance Taylor <iant@xxxxxxxxxx> wrote: > naveen yadav <yad.naveen@xxxxxxxxx> 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@xxxxxxxxxxx and > gcc-help@xxxxxxxx Please send them only to gcc-help@xxxxxxxxxxxx > Thanks. > > Ian >