lkml.org 
[lkml]   [2003]   [Jul]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: passing my own compiler options into linux kernel compiling
On Thu, Jul 24, 2003 at 09:16:17AM +0200, Michal Semler wrote:
> Hello,
>
> I use gcc-3.3 and I would like compile my kernel with flags:
>
> -O4 -march=pentium3 -mcpu=pentium3
>
> Is there any way to do this?
Only way to specify -O4 is to manually edit top-level Makefile.
Change the assignment to CFLAGS (not hOSTCFLAGS as someone suggested).

The -m options are set in arch/i386/Makefile.
The best way to set them is to select the correct processor type.

Sam
-
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.052 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site