debug-options for libstdc++-2.90.3

Peter Nilsson peter.nilsson@axis.com
Wed Aug 4 08:46:00 GMT 1999


Hi!

I run 

CXX=g++ ../libstdc++-2.90.2/configure --prefix=${PWD%/*}/H-libstdc++

to autogenerate the makefile for building of the library.

1. I tried configure --help but couldn't find any option to enable debugging. Typically, the makefile should include something lige "CC -g ..." for debugging enabled. How do I build so that I can debug the library? I would like to be able to single-step through the source code which should be possible since it's included in the distribution.

2. I set CXX=g++ but in the Makefile I read 

CC=gcc
CXX=c++

What does CXX=g++ really imply? Isn't g++ used after all?

/Peter


More information about the Libstdc++ mailing list