gcc 2.95.3 compile failure

Anuz Pratap Singh Tomar chambilkethakur at gmail.com
Fri Dec 21 05:39:09 EST 2012


On Fri, Dec 21, 2012 at 9:56 AM, Bernd Petrovitsch <
bernd at petrovitsch.priv.at> wrote:

> On Fre, 2012-12-21 at 09:11 +0800, horse_rivers wrote:
> > At 2012-12-20 18:01:40,"Bernd Petrovitsch" <bernd at 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 ....
>
> Why not use a buildroot  based tool chains or get an old toolchain and use
it as cross compiler. That should work for the most part.
Though it uses uclibc, you can replace it with normal libc.

        Bernd
> --
> Bernd Petrovitsch                  Email : bernd at petrovitsch.priv.at
>                      LUGA : http://www.luga.at
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>



-- 
Thank you
Warm Regards
Anuz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20121221/930f3c98/attachment.html 


More information about the Kernelnewbies mailing list