O2 compilation option

Marcus Meissner marcus at jet.franken.de
Wed Jun 12 12:11:27 CDT 2002


On Wed, Jun 12, 2002 at 08:50:58AM +0300, Shachar Shemesh wrote:
> Hi all,
> 
> I found that using the default ./configure options, the Makefiles are 
> generated with "-g -O2" compilation options. This combination doesn't 
> make sense to me, as what use are debug options if I cannot trace 
> execution in a debugger.

Actually gdb supports that. It is sometimes jumping between lines but
it is not very difficult to follow.

> My autoconfig knowledge is not deep enough to understand whether there 
> is a command line option to remove the "O2" from the makefiles. For the 
> time being, I have simply modified configure by hand. Can anyone tell 
> whether there is any better option?

Just pass it to configure:

	CFLAGS="-g" ./configure

Ciao, Marcsu



More information about the wine-devel mailing list