From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754716AbZERMxx (ORCPT ); Mon, 18 May 2009 08:53:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750978AbZERMxm (ORCPT ); Mon, 18 May 2009 08:53:42 -0400 Received: from india.einfochips.com ([203.88.139.151]:19679 "EHLO ahmedabad.einfochips.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750946AbZERMxm (ORCPT ); Mon, 18 May 2009 08:53:42 -0400 Message-ID: <4A11597A.5010904@einfochips.com> Date: Mon, 18 May 2009 18:20:02 +0530 From: Viral Mehta Organization: eIbfochips Ltd. User-Agent: Thunderbird 2.0.0.21 (X11/20090302) MIME-Version: 1.0 To: lkml Subject: Re: gcc compilation References: <4A115480.60003@einfochips.com> In-Reply-To: <4A115480.60003@einfochips.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Ohh sorry asking w/o g00gling... I just found GCC manual : "the default configuration is to perform a 3-stage bootstrap of the compiler when ‘make’ is invoked. This will build the entire GCC system and ensure that it compiles itself correctly." Viral Mehta wrote: > Hello, > > I was compiling 2.6.29.7 kernel but it stopped as my system had gcc > version 4.1.1. > There was some bug with respect to __weak attribute in gcc 4.1.[01]. > So, I started installing newer gcc 4.3.0. > > That was a history part. Now, I have a query. > > If I am installing gcc 4.3.0. It will be compiled using gcc 4.1.0 as I > have that installed on my PC. Now, gcc 4.1.0 has several BUGS and so > compilation of gcc 4.3.0 will not happen correctly. How this situation > is handled normally ?? -- Thanks, Viral Mehta, Embedded Software Engineer, www.einfochips.com