[Gllug] compiling 2.5 kernels

Dave Jones davej at suse.de
Thu Apr 18 14:01:51 UTC 2002

On Thu, Apr 18, 2002 at 02:16:47PM +0200, John Hearns wrote:

 > Perhaps an idiot question,
 > but what version of gcc is reccommended for compiling
 > the 2.5 series kernels?

2.95 is the recommended one, but people have been using 3.0 for
a while. The really silly bugs there now seem to have been 
shaken out (on both kernel side and compiler side)

 > Are there any massive (or small) bugs turned up by
 > changing to gcc3??

Very recent gcc 3 will give you warnings about things like..

 printk ("An error happened in " __FUNCTION__ "\n");

They now need to fixed up to 

 printk ("An error happened in %s\n", __FUNCTION__);

Apart from that, there shouldn't really be anything that jumps out.

| Dave Jones.        http://www.codemonkey.org.uk
| SuSE Labs

Gllug mailing list  -  Gllug at linux.co.uk

More information about the GLLUG mailing list