This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: compiling linux kernels with GCC 3.0
- To: Alan Lehotsky <apl at alum dot mit dot edu>
- Subject: Re: compiling linux kernels with GCC 3.0
- From: Florian Weimer <fw at deneb dot enyo dot de>
- Date: Wed, 10 Oct 2001 16:38:56 +0200
- Cc: gcc at gcc dot gnu dot org
- References: <p04330101b7e9f054094c@[192.168.1.254]>
Alan Lehotsky <apl@alum.mit.edu> writes:
> Is it still the case that standard 3.0.x compilers are unable to
> compile current linux kernels due to mismatched expectations on
> optimizations?
Ask the Linux kernel folks. Their documentation tells you to use egcs
1.1.2 because GCC 2.95.x has critical bugs, and to use GCC 2.95.{2,3}
because egcs 1.1.2 has critical bugs. ;-)
However, Alan Cox has just recommended to use GCC 2.95.{3,4}. GCC 3.x
is still not likely to work reliably reliably, but for details, you
should really ask on the Linux kernel mailing list.