From mboxrd@z Thu Jan 1 00:00:00 1970 From: bernd@petrovitsch.priv.at (Bernd Petrovitsch) Date: Fri, 21 Dec 2012 10:56:57 +0100 Subject: gcc 2.95.3 compile failure In-Reply-To: <46e5b1e8.12b5.13bbb0380a5.Coremail.horse_rivers@126.com> References: <9d92714.c2bc.13bb37ffa37.Coremail.horse_rivers@126.com> <20121219155430.4a38f81b@skate> <48c2a3f2.10a7f.13bb64aed6f.Coremail.horse_rivers@126.com> <1355997701.17167.3.camel@thorin> <46e5b1e8.12b5.13bbb0380a5.Coremail.horse_rivers@126.com> Message-ID: <1356083820.17167.45.camel@thorin> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Fre, 2012-12-21 at 09:11 +0800, horse_rivers wrote: > At 2012-12-20 18:01:40,"Bernd Petrovitsch" wrote: > >On Don, 2012-12-20 at 11:11 +0800, horse_rivers wrote: > >[....] > >> becasue i want to compile linux 2.6 version kernel ,which require gcc2.95.3 > > > >2.6 as such covers the range of years - look at the release dates from > >2.6.0 and 2.6.39. > > > >And requirements are usually the minimum (here: oldest) version. > >All remotely currently deployed gcc's (including from - but not limited > >to - Debian/stable over RedHat-Enterprise-6 to SUSE/Novell with and > >without updates) up to gcc-4.7.2 (most recent stable) should actually > >work. > > that is saying the gcc4.7 can compile linux kernel 2.6.0-2.6.39 ? Short answer: Probably - it is worth a try. Long answer: First, I would try the gcc from your distribution - it it works, be done with it. Than I would try a somewhat recent one - either a prepackaged one (beu I do not know if such actually exist somewhere) or a self-`make bootstrap`ped one (which is IMHO easy enough). Recent ones should understand/compile also 10 years old source .... Bernd -- Bernd Petrovitsch Email : bernd at petrovitsch.priv.at LUGA : http://www.luga.at