Le 06.02.2005 02:49:38, David Liontooth a écrit :
On Sat, 5 Feb 2005, 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.Icompile the kernel the Debian way with make-kpkg. Is there anyoptionsto 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. Thanks JonathanHi Jonathan, Here's what I do: before compiling, change the /usr/bin/gcc symlink from /usr/bin/gcc-3.3 to /usr/bin/gcc-3.4. Afterwards, change it back. Goswin's solution is more worthy of a true geek of course ;-)
I use the following: MAKEFLAGS="CC=gcc-3.4" \ make-kpkg --revision <my_revivion> \ --append-to-version -<my_version> \ --initrd \ --rootcmd fakeroot kernel_image I use something like 20050205 (the date) for <my_revision>And -k8-1 for my version, you can increase the number as you create more versions ;-)
Dave
Jean-Luc
Attachment:
pgpQ2et4PhzkQ.pgp
Description: PGP signature