This is the mail archive of the libstdc++@sourceware.cygnus.com 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]

debug-options for libstdc++-2.90.3


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

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