RFC --enable-debugging

Benjamin Kosnik bkoz@redhat.com
Fri Nov 1 18:57:00 GMT 2002


On Fri, 1 Nov 2002 17:48:22 -0600 (CST)
Loren James Rittle <rittle@latour.rsch.comm.mot.com> wrote:

>
>I know.  By default, gcc/cp/g++spec.c sets:
>
>#ifndef LIBSTDCXX
>#define LIBSTDCXX "-lstdc++"
>#endif
>#ifndef LIBSTDCXX_PROFILE
>#define LIBSTDCXX_PROFILE "-lstdc++"
>#endif

So...

#ifndef LIBSTDCXX
#define LIBSTDCXX "-lstdc++"
#endif
#ifndef LIBSTDCXX_DEBUG
#define LIBSTDCXX_DEBUG "-L(prefix)/lib/debug -lstdc++"
#endif
#ifndef LIBSTDCXX_PROFILE
#define LIBSTDCXX_PROFILE "-lstdc++"
#endif

or equivalent.

-benjamin



More information about the Libstdc++ mailing list