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

Re: compiling custom kernel with gcc-3.4



On Saturday 05 February 2005 13:52, Jonathan Marchand wrote:
> Hi,
> 
> I'am running an amd64 laptop and I would like to build a kernel with
> gcc-.34 like the kernel images avaible on the internet. Therefore, it
> seems I can only build kernel with gcc-3.3. I did change some
> variables in the kernel-source's Makefile and the environment
> variables, but the resulting kernel is always compiled with gcc-3.3. I
> compile the kernel the Debian way with make-kpkg. Is there any options
> to add with make-kpkg to use gcc-3.4? Why the kernel-source package
> isn't configured to be build by defauly with gcc-3.4, it seems the
> more natural, or it is on purpose?
> I'm sorry I'm pretty unknowledgeable with compiling kernels and the
> different versions of gcc but any informations will be greatly
> appreciated.

Jonathan,

If you are directly compiling the kernel, just make sure gcc 3.4 is installed.  
Its fine if gcc 3.3 is still the default compiler.  When you go to build the it do:

make CC="/usr/bin/gcc-3.4"

And it will do what you want.  You have to install it manually this way though.

Ed Tomlinson



Reply to: