Re: Which gcc version?

Anton Altaparmakov (aia21@cam.ac.uk)
Fri, 23 Nov 2001 16:10:48 +0000


At 15:30 23/11/01, =?ISO-8859-2?B?R+Fib3IgTOlu4XJ0?= wrote:
>On Fri, Nov 23, 2001 at 03:14:48PM +0000, Arjan van de Ven wrote:
> > war wrote:
> > >
> > > #1) The compiler from redhat (gcc-2.96) is not an official GNU release.
> > > #2) http://www.atnf.csiro.au/~rgooch/linux/docs/kernel-newsflash.html/
> > > "the reccomend compiler is now gcc-2.95.3, rather than gcc-2.91.66"
> >
> > From Documentation/Changes in 2.4.15:
> >
> > The Red Hat gcc 2.96 compiler subtree can also be used to build this
> > tree.
> > You should ensure you use gcc-2.96-74 or later. gcc-2.96-54 will not
> > build
> > the kernel correctly.
>
>True, but as it's known, gcc-2.96 is NOT an official gcc release by the gcc
>team. It was RedHat's fault to fetch a development CVS gcc snapshot and
>release it as gcc 2.96 in RedHat distributions, while object format used by
>2.96 is not compatible with 2.95 nor 3.0.x at least according information
>can be found on site of gcc. It was very ROTFL RedHat to release kgcc to be
>able to compile kernel. And these type of distributions are marked as even
>enterprise-ready and likes by RedHat :) Sorry for the flame, but IMHO it's
>very funny :) [Also, while developing MPlayer we had got problems with even
>newer 2.96's, so we do not recommend it in the dox, and ./configure won't
>able you to use 2.96 without a special configure switch ...]

Oh, I have to look at your configure.in for how you do that so I can add
the opposite check to linux-ntfs and refuse to compile if gcc-2.96 or 3.x
is NOT used. (-:

>But for being more serious: do newer gcc 2.96 versions have these type of
>errors? I mean mainly incompatible object format ...

I don't know about that. All I can say is that since RedHat 7.0 and the
updated gcc-2.96 (the first release was indeed broken) I have been using
gcc-2.96 for everything and I haven't experienced any problems with it
(compiling both kernels and user space code with it but YMMV as I don't
compile that much user space code myself except for my own code which
obviously works considering I write it for gcc-2.96...). I even installed
gcc-2.96 on my SuSE 7.2 system and that has been happy with it, too.

Anton

-- 
   "I've not lost my mind. It's backed up on tape somewhere." - Unknown
-- 
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Linux NTFS Maintainer / WWW: http://linux-ntfs.sf.net/
ICQ: 8561279 / WWW: http://www-stu.christs.cam.ac.uk/~aia21/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/