SLUG Mailing List Archives
Re: [SLUG] GCC
- To: "'slug@xxxxxxxxxxx'" <slug@xxxxxxxxxxx>
- Subject: Re: [SLUG] GCC
- From: John Clarke <johnc@xxxxxxxxxxxxxxxxxx>
- Date: Tue Oct 31 12:50:20 2000
- User-agent: Mutt/1.1.3i
On Tue, Oct 31, 2000 at 09:21:00AM +0800, Dion Curchin wrote:
> I seem to recall some announcement on here recently about a version
> of gcc that would fail when compiling a kernel. I think it may have had to
This is a common question on the gcc mailing list, and indeed it's in the gcc
FAQ, although I believe that the FAQ answer is incomplete.
The short answer is:
2.0 kernels should only be compiled with gcc-2.7.2.x
2.2 kernels should compile with most releases of egcs.
2.2 kernels should also compile with gcc-2.95.2, as long as the
`-fno-strict-aliasing' flags is used.
RH7 includes a development snapshot of gcc, rather than a released version. It
is *not* gcc-2.95.2. It should, however, be capable of compiling the kernel.