Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Option -00?
@ 2005-04-14 20:36 JS
  2005-04-14 20:52 ` Daniel Jacobowitz
  0 siblings, 1 reply; 4+ messages in thread
From: JS @ 2005-04-14 20:36 UTC (permalink / raw)
  To: gdb

I read that you could give gcc an -00 or -OO option. Is it double zero or
double O and what does the option do?

I searched the "man gcc" for both -00 and -OO but found nothing.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Option -00?
  2005-04-14 20:36 Option -00? JS
@ 2005-04-14 20:52 ` Daniel Jacobowitz
  2005-04-15  8:30   ` JS
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel Jacobowitz @ 2005-04-14 20:52 UTC (permalink / raw)
  To: JS; +Cc: gdb

On Thu, Apr 14, 2005 at 10:35:47PM +0200, JS wrote:
> I read that you could give gcc an -00 or -OO option. Is it double zero or
> double O and what does the option do?
> 
> I searched the "man gcc" for both -00 and -OO but found nothing.

Search a little harder?

       -O0 Do not optimize.  This is the default.

That's a zero.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Option -00?
  2005-04-14 20:52 ` Daniel Jacobowitz
@ 2005-04-15  8:30   ` JS
  2005-04-15  8:42     ` Re[2]: " Konstantin Karganov
  0 siblings, 1 reply; 4+ messages in thread
From: JS @ 2005-04-15  8:30 UTC (permalink / raw)
  To: gdb

Daniel Jacobowitz wrote:

> On Thu, Apr 14, 2005 at 10:35:47PM +0200, JS wrote:
>> I read that you could give gcc an -00 or -OO option. Is it double zero or
>> double O and what does the option do?
>> 
>> I searched the "man gcc" for both -00 and -OO but found nothing.
> 
> Search a little harder?
> 
>        -O0 Do not optimize.  This is the default.
> 
> That's a zero.
> 


Is it an O like in ONE followed by a zero?

When you say its default does it mean that it is turned on even if I don't
specify it to gcc?


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re[2]: Option -00?
  2005-04-15  8:30   ` JS
@ 2005-04-15  8:42     ` Konstantin Karganov
  0 siblings, 0 replies; 4+ messages in thread
From: Konstantin Karganov @ 2005-04-15  8:42 UTC (permalink / raw)
  To: JS; +Cc: GDB

Hello JS,

> Is it an O like in ONE followed by a zero?
Yes, a letter O followed by zero ("zero Optimization")

> When you say its default does it mean that it is turned on even if I don't
> specify it to gcc?
It means that if you do not ask for optimization, gcc does no
optimization :)

-- 
Best regards,
 Konstantin 




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-04-15  8:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-14 20:36 Option -00? JS
2005-04-14 20:52 ` Daniel Jacobowitz
2005-04-15  8:30   ` JS
2005-04-15  8:42     ` Re[2]: " Konstantin Karganov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox