make in a certain way in them. In other words, you
could:
mkdir debug-build opt-build
cd debug-build; $top_srcdir/configure; make debug; cd ..
cd opt-build; $top_srcdir/configure; make; cd ..
I hope this helps (somewhat).
Regards.
Dean Hoover
Thanks, that works great...
Bernard Dautrevaux wrote:
-Original Message-
From: Dean Hoover [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 28, 2001 11:34 PM
To: GNU Autotools
Subject: setting -DDEBUG
Thanks for the response on the debug
target question. I did like
would like to know how to
go about adding a debug target, such
that -O2 is not given on the compile/link
lines. Any ideas?
Thanks.
Dean Hoover
Akim Demaille wrote:
Dean Hoover [EMAIL PROTECTED] writes:
I am new to autotools, and am reading GNU autoconf, automake, and
libtool by Vaughan, et. al. and the manuals for autoconf and
automake. I am building a fairly large project with multiple
directories and several executables
Thanks for the response on the debug
target question. I did like you said
except set CXXFLAGS=-g
and it worked just fine. EXCEPT,
I also want to set -DDEBUG on
the call to c++.
How would I do that without
messing up DEFS?
Dean