This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to get debug mode version of libstdc++ when compiling GCC


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>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]