On Fre, 2012-12-21 at 09:11 +0800, horse_rivers wrote:
At 2012-12-20 18:01:40,"Bernd Petrovitsch" <bernd@petrovitsch.priv.at> 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@petrovitsch.priv.at LUGA : http://www.luga.at