lkml.org 
[lkml]   [2003]   [Jul]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: passing my own compiler options into linux kernel compiling
Date
From
>Maybe there should be a possibility in menuconfig and xconfig for users
>specify their own compiler options.

The system does take the chip into account, as far as I remember. It's one of
the first few options of the config system.

As to the -O4 option, it's important to think about what optimizations it's
doing. Many of the critical functions in the kernel are hand coded assembler,
no small amount of work. The other functions might gain from this, but I bet
they don't. They might even lose from it.

In any case it appears that if you modify the HOSTCFLAGS in the top level
Makefile, you can add these options. Do be careful. The data you save may be
your own.
--
A principle is universal.
A rule is specific.
A law is invariable.
http://www.hacksaw.org -- http://www.privatecircus.com -- KB1FVD


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.065 / U:0.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site