|
From: | Andre Caldas |
Subject: | Re: debug builds with NO optimizations |
Date: | Tue, 14 Feb 2006 11:33:37 +0900 |
User-agent: | Debian Thunderbird 1.0.7 (X11/20051017) |
.../configure CFLAGS=-gThat may be a clean approach, but running configure is slow enough as it is; re-running it for trivial changes is really aggravating.
You would have to "make clean" anyway!!If you need to switch that much between CFLAGS definitions, then maybe you should have two build trees.
If you want to memorialize the change (instead of just relying on overriding the setting at make invocation) the other obvious choice is to edit the config.status script and re-run that to propagate the changes to the Makefiles.
The file config.status is a generated file. I would not advise anyone to edit a generated file.
I myself like to use ./config.status --versionto check for the arguments passed to it and re-run the configure script. By your method, I would have to remember what to change in "config.status" everytime!
Andre Caldas.
[Prev in Thread] | Current Thread | [Next in Thread] |