[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20101129115724.GA32318@opentech.at>
Date: Mon, 29 Nov 2010 12:57:24 +0100
From: Nicholas Mc Guire <der.herr@...r.at>
To: Christian Borntraeger <borntraeger@...ibm.com>
Cc: Segher Boessenkool <segher@...nel.crashing.org>,
Am?rico Wang <xiyou.wangcong@...il.com>,
Hui Zhu <teawater@...il.com>, linux-kernel@...r.kernel.org,
gdb@...rceware.org, hellogcc@...elists.org,
linux-kbuild@...r.kernel.org
Subject: Re: [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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists