On Fri, 12 Aug 2005, Horms wrote:
On Thu, Aug 11, 2005 at 01:20:35PM +0100, ctrlER wrote:
The easiest way that I know is to just edit the top level
Makefile and replace gcc with gcc-3.3.
Alternatively, make-kpkg supports passing of CC variable to the kernel
build through MAKEFLAGS variable. From make-kpkg man page:
You may control which version of gcc used in kernel compilation by
setting the Makefile variables CC and HOSTCC in the top level kernel
Makefile. You can do this simply by
% MAKEFLAGS="CC=gcc-2.95" make-kpkg ...
To build linux-source-2.6.12 what's the gcc version I should use, and
most important, where can I find that info so that in future updates I
dont get stuck again.
linux-source-2.6.12 whould work fine with the latest and
greatest toolchain in unstable, that is gcc 4.0
The goal is definitely to make all arches build with gcc-4.0 in the
nearest future. For various reasons the only architectures using gcc-3.3
to build the kernel are sparc, alpha and m68k. You can figure out the
compiler used by each architecture by looking at the Build-Depends line
of the latest linux-2.6 source package.