This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: How to get debug mode version of libstdc++ when compiling GCC
- From: Carlo Wood <carlo at alinoe dot com>
- To: Pit Cuppens <pcuppens at gmx dot net>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Thu, 22 Jul 2004 23:56:54 +0200
- Subject: Re: How to get debug mode version of libstdc++ when compiling GCC
- References: <31013.1090508645@www46.gmx.net>
On Thu, Jul 22, 2004 at 05:04:05PM +0200, Pit Cuppens wrote:
> So I tried this with my GCC compiler, 3.3.2,
> which I downloaded and built myself according
> to the instruction on http://gcc.gnu.org/install;
> my command line was
>
> ./configure --enable-languages=c++
Imho you need to use --enable-__cxa_atexit as well for c++
on a box that uses GNU libc (like GNU/Linux) or you will get
into trouble with your global destructors. Reading
http://gcc.gnu.org/install this isn't clear (it looks like
you have an arbitrary choice), but in my experience it
just don't work correctly otherwise.
--
Carlo Wood <carlo@alinoe.com>