This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: RFC --enable-debugging
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