Hi,
I've had complaints from users about the fact that my configure script
adds "-g -O2" to CXXFLAGS by default since they want to compile an
optimized version of the library without debugging symbols. I know
that gcc/g++ can generate debugging symbols for optimized code, but
that's not the
--- Ossama Othman [EMAIL PROTECTED] wrote:
Hi,
I've had complaints from users about the fact that my configure script
adds "-g -O2" to CXXFLAGS by default since they want to compile an
optimized version of the library without debugging symbols. I know
that gcc/g++ can generate debugging
Ossama Othman [EMAIL PROTECTED] writes:
I've had complaints from users about the fact that my configure script
adds "-g -O2" to CXXFLAGS by default since they want to compile an
optimized version of the library without debugging symbols. I know that
gcc/g++ can generate debugging symbols
--- Ossama Othman [EMAIL PROTECTED] wrote:
-8-
itself a hack. What I feel is a hack is the fact that it must be used
to disable the "-g -O2" that autoconf adds to the compiler flags.
Does this make any sense?
So, Ossama, i.e., you want the default to be nothing and if you want to add the
Ossama Othman [EMAIL PROTECTED] writes:
Would it be worthwhile to add a "--enable-debug" and a
"--enable-optimize=level" set of configure script options?
A problem with that is that it moves the responsability of keeping
track of which compilers accept which options from the user to the
macro.
%% Ossama Othman [EMAIL PROTECTED] writes:
oo Yes, indeed. I don't reset CXXFLAGS in the Makefile at all. What
oo I would like is a way to disable the automatically selected "-g
oo -O2" flags by some configure script options, rather than using the
oo CXXFLAGS=whatever hack. Note that
Hi Assar,
On Tue, May 23, 2000 at 04:49:29AM +0200, Assar Westerlund wrote:
Ossama Othman [EMAIL PROTECTED] writes:
Would it be worthwhile to add a "--enable-debug" and a
"--enable-optimize=level" set of configure script options?
A problem with that is that it moves the responsability of
Hi Paul,
On Mon, May 22, 2000 at 11:05:56PM -0400, Paul D. Smith wrote:
%% Ossama Othman [EMAIL PROTECTED] writes:
oo Yes, indeed. I don't reset CXXFLAGS in the Makefile at all. What
oo I would like is a way to disable the automatically selected "-g
oo -O2" flags by some configure