This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: any way to generate debug AND non-debug releases?
- To: "allen at webg2 dot com" <allen at webg2 dot com>,"automake at gnu dot org" <automake at gnu dot org>
- Subject: Re: any way to generate debug AND non-debug releases?
- From: "Juergen Hermann" <jh at web dot de>
- Date: Thu, 28 Sep 2000 10:57:52 +0200
- List-Id: Discussion list for automake <automake.gnu.org>
- Reply-To: "Juergen Hermann" <jh at web dot de>
On Tue, 26 Sep 2000 15:59:37 -0400 (EDT), allen@webg2.com wrote:
>I would like to be able to build both debug and release builds of
>some libraries and apps that are using the GNU build system. It seems
>that there must be an easy way to specify multiple targets (one simply
>stripped of symbols). Can anyone point me to some docs or have
>suggestions on how this can be achieved with the GNU autoconf/automake
>/libtool/make/gcc toolchain?
mkdir release
../src/configure
make
cd ..
mkdir debug
../src/configure --with-debug
make
# DONE! :)
Of course, you need to handle --with-debug in your "configure.in".
Ciao, Jürgen
--
Jürgen Hermann, Developer (jhe@webde-ag.de)
WEB.DE AG, http://webde-ag.de/