help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debug builds


From: Matthias
Subject: Re: Debug builds
Date: Mon, 31 Jan 2005 16:05:21 +0100
User-agent: Mozilla Thunderbird 0.9 (X11/20041124)

Bernd Strieder wrote:
Hi,

Matthias wrote:


"This debug mode is available with GCC 3.4.0 and later versions."

I guess that explains why I didn't find that flag in the headers. I
only have 3.3.4 at hands. Well, bad luck I guess.



You did not tell the truth. In the previous post you said:


I am using the GNU C++ implementation, gcc 3.4.3.


I stand corrected, my apologies. gcc 3.3.4 is correct.
Actually I just checked again and it's 3.3.5, but we don't want to be nit-pick here. ;-D
Let's just say, I am using gcc 3.3.x.

If you are ready to recompile all C++ parts of your project, you might
consider using g++-3.4.3. It has a new parser, which is stricter. There
are possibly a lot of simple changes in template-heavy code to get your
code working under g++-3.4 and g++-3.3. gcc-3.4.3 is faster, especially
in debugging builds and produces faster code. You could do release
builds with the old compiler.

Hm, that sounds reasonable, but I use the one that came with Debian Sarge. I tried to set up a newer gcc version on my own -- once, and never again. It was a major pain in the b... back.
Guess I have to take a long breath and wait for Debian to ship 3.4.x --
which will of course not happen until 3.4.x is outdated on every other Linux distro imaginable. Sigh.

You might consider using STLport. It has debugging features and it
should be usable with g++-3.3. But recompiling might be necessary,
nevertheless.

Oh, yes, I have heard a lot of good things about STLport. Maybe I'll look into that.

Thanks.

--
Regards,
Matthias

reply via email to

[Prev in Thread] Current Thread [Next in Thread]