lkml.org 
[lkml]   [2010]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Built kernel without -O2 option
On Mon, 29 Nov 2010, Christian Borntraeger wrote:

> Am 29.11.2010 12:12, schrieb Segher Boessenkool:
> >> In essence -O2 just tells gcc to activate a list of optimizations
> >> gcc -Q -O2 --help=optimizers

I think for completness you would need to pass

gcc -Wextra -Q -O2 --help=optimizers

or you could miss some options

> >> tells you what.
> >
> > Not quite; see http://gcc.gnu.org/wiki/FAQ#optimization-options .
> >
>
> Erm...right. Thank you.

well I guess you always could explicidly turn off all optioins with
-fnoWHATEVER you want to disable and thus remove all unwanted flags
- admitedly a bit painfull though.

hofrat


\
 
 \ /
  Last update: 2010-11-29 13:09    [W:0.049 / U:2.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site