Subject: re: USE_LIBSTDCXX
To: Nick Hudson <skrll@netbsd.org>
From: matthew green <mrg@eterna.com.au>
List: tech-toolchain
Date: 08/16/2004 22:34:37
--- gnu/dist/gcc/gcc/cp/g++spec.c 23 Jul 2003 02:41:09 -0000 1.1.1.1
+++ gnu/dist/gcc/gcc/cp/g++spec.c 16 Aug 2004 08:44:25 -0000
@@ -42,6 +42,9 @@
#ifndef LIBSTDCXX_PROFILE
#define LIBSTDCXX_PROFILE "-lstdc++"
#endif
+#ifndef LIBSUPCXX
+#define LIBSUPCXX "-lsupc++"
+#endif
void
lang_specific_driver (in_argc, in_argv, in_added_libraries)
@@ -129,7 +132,8 @@
if (argv[i][0] == '-')
{
if (library != 0 && (strcmp (argv[i], "-nostdlib") == 0
- || strcmp (argv[i], "-nodefaultlibs") == 0))
+ || strcmp (argv[i], "-nodefaultlibs") == 0
+ || strcmp (argv[i], LIBSUPCXX) == 0))
{
library = 0;
}
hmmmm what exactly is this bit doing?