How to get debug mode version of libstdc++ when compiling GCC
Carlo Wood
carlo@alinoe.com
Thu Jul 22 21:56:00 GMT 2004
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>
More information about the Libstdc++
mailing list