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
Quoth Michal Semler:
> Hello,
>
> I use gcc-3.3 and I would like compile my kernel with flags:
>
> -O4 -march=pentium3 -mcpu=pentium3

Although it might be handled differently elsewhere, this snippet
from gcc/toplev.c suggests -O4 buys you nothing you don't get from
-O3:

if (optimize >= 3)
{
flag_inline_functions = 1;
flag_rename_registers = 1;
}

Kurt
--
Substitute "damn" every time you're inclined to write "very"; your
editor will delete it and the writing will be just as it should be.
-- Mark Twain
-
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.047 / U:0.776 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site