[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian kernel source and compiler



Jules Dubois <j6bqszk02@sneakemail.com> wrote:

I'm running Sid -- up-to-date except for a small number of held and broken
packages -- and have two questions about kernel source and compiling.

1) I have previously gotten, built, and used Debian's kernel source
  packages, such as kernel-source-2.6.10 and kernel-source-2.6.11.
  In the last few days, aptitude shows a new source package,
  linux-source-2.6.12.  It is the only (non-virtual) package whose
  name begins with 'linux-source'.

  Do the Debian kernel source packages use a new naming convention or
  is this new package a vanilla kernel (or something else)?
There is a longish thread on the debian-kernel list entitled '2.6.12 upload' which seems to contain the answers to most of your questions. I'm going to forward two of the messages to your private email account. If you are an expert google searcher, I guess you should be able to
retrieve this thread and others.

The linux-source-* is the new convention because hurd will be a future choice for those who want to run hurd instead of/(in addition to?) linux. I guess hurd-source-* will let the user know what
is actually there.

2) GCC 4.0 is now the default compiler series.  When I run 'make menuconfig'
  or 'make-kpkg kernel_image', I get a large number of warnings -- these
  warnings are not generated by GCC 3.3, so I have modified the top-level
  kernel Makefile to use gcc-3.3 and g++-3.3.

Should I use GCC 4.0 for compiling the kernel (and ignore the warnings) or continue to use GCC 3.3?


It appears that you should use gcc 3.3 for 2.6.12. If I understood the comments, gcc 4.0 will be used
for later versions (probably starting with 2.6.13).

--
(Mr.) Gayle Lee Fairless, http://counter.li.org/, No. 365760.
Linux Gcomm 2.4.18-bf2.4 #1 Son Apr 14 09:53:28 CEST 2002 i686 GNU/Linux
Linux Gcomm 2.6.11-1-686 #1 Mon Jun 20 22:00:38 MDT 2005 i686 GNU/Linux
Linux Gcomm 2.6.12-1-686 #1 Fri Jun 24 12:17:14 CEST 2005 i686 GNU/Linux



Reply to: