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.
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?
Shachar
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