Re: compiling the kernel with a different compiler



linuxadmin@xxxxxxxxx writes:

Captain Dondo wrote:
V Sat, 13 Jan 2007 17:11:56 -0800, linuxadmin napsal(a):

You don't say which kernel, but you need to look in the kernel Makefile.

--Yan

let's say 2.6.19.X or 2.6.20-rcX. one of the new ones.
yes, i've looked into the Makefile, i didn't understant
much, just that lots of compiler variables and flags
are set to some (default) values. by the way, i would
like to expand my question:
how to override default compiler flags also
(at least to add some)?

In order to do what you want to do,
you need to be able to understand the Makefile.

http://www.gnu.org/software/make/manual/make.html

(And probably a few other things.)
.



Relevant Pages

  • Re: Error "Unknown relocation: 36" on module load on Sparc
    ... But we surprised that such platform specific compiler flags have to be ... thought kbuild environment doing it automatically. ... Most of your Makefile looks fine - I guess we need to find the bug ...
    (Linux-Kernel)
  • Re: compiling the kernel with a different compiler
    ... Captain Dondo wrote: ... but you need to look in the kernel Makefile. ... just that lots of compiler variables and flags ... how to override default compiler flags also ...
    (comp.os.linux.misc)
  • Re: compiling the kernel with a different compiler
    ... but you need to look in the kernel Makefile. ... yes, i've looked into the Makefile, i didn't understant ... just that lots of compiler variables and flags ... how to override default compiler flags also ...
    (comp.os.linux.misc)
  • Re: x11 and undefined inheritance operation
    ... What does your Makefile look like? ... # used for execution of your targets. ... # Add your pre 'clean' code here... ... # CC Compiler Flags ...
    (comp.unix.programmer)