Re: kernel builds and gcc 2.7.2.x


Subject: Re: kernel builds and gcc 2.7.2.x
From: Michael A. Peters (Moonglue@141.com )
Date: Tue Aug 22 2000 - 21:55:41 MDT


>On Mon, 21 Aug 2000, Michael A. Peters wrote:
>
> > I use gcc-2.95.2 which should have come with your YD Champion Server.
> > Never fails me.
>
> I never said it failed me either, however, for weird problems,
> it's one less thing to worry about.
>
> Details:
>
> http://www.tux.org/lkml/#s8
>
> - Paul

Linus also doesn't use CVS, says he hates it.

Linus is probably one of the smartest people around, don't get me
wrong, but just because linus uses that compiler to compile his
kernels on whatever architexture he uses doesn't make it the best
compiler for PowerPC.

Also, that page is old. 2.95.2 is a milestone release for gcc, with
many improvements over 2.8 (which is what is reported to have had
problems compiling the kernel on that page)

I not only use gcc-2.95.2 on PowerPC, when I get a Red Hat box- the
first thing I do is grab fsirl's gcc src rpm for gcc and build it on
the Red Hat box. Then I deinstall Red Hat's egcs (which has been
integrated into gcc) and install the gcc.

Never have a problem with 2.95.2 on x86 either, and I've built quite
a few kernel for x86 recently as well- not to mention tons of other
stuff. Not a day goes by at work where I don't build something, and
I've never had a problem because of gcc-2.95.2. Bad code, well- I
won't talk about that ;)

When gcc-3.0 is released I'll probably stick to 2.95.2 for a little
while simply because there's a lot of packages with technically bad
code that do build and work under current gcc, but won't under 3.0.
Once 3.0 has been thouroughly tested and is decent- and vendors have
fixed their code, then I'll switch to 3.0

But many of the arguements on that page no longer apply. Having a
common compiler for the development of a product is important, but
there's no reason I've heard of not to build the kernel (or anything
else) with gcc-2.7.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Michael A. Peters-- http://24.5.29.77/Linux_Pages/
                                http://www.omnilinux.com/
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  



This archive was generated by hypermail 2a24 : Tue Aug 22 2000 - 21:59:41 MDT