Shared libstdc++ support for the Hurd
Mark Kettenis
kettenis@wins.uva.nl
Fri May 14 07:00:00 GMT 1999
The following patch makes it possible to generate a shared libstdc++
on the Hurd. Note that this patch creates a new file
egcs/libstdc++/config/gnu.ml and that depending the version on patch
that is used, this CVS generated patch might put that file in the
wrong directory.
Mark
1999-05-13 Mark Kettenis <kettenis@gnu.org>
* configure.in: Add shared library support for the Hurd
(*-*-gnu*).
* config/gnu.ml: New file.
Index: egcs/libstdc++/configure.in
===================================================================
RCS file: /var/cvsroot/egcs/libstdc++/configure.in,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 configure.in
--- configure.in 1999/05/13 13:33:59 1.1.1.1
+++ configure.in 1999/05/13 18:25:21
@@ -92,6 +92,7 @@
*-*-sunos4*) frags="${frags} sunos4.ml" ;;
*-*-aix*) frags="${frags} aix.ml" ;;
i[3456]86-*-interix*) frags="${frags} x86-interix.ml" ;;
+ *-*-gnu*) frags="${frags} gnu.ml" ;;
esac
fi
Index: egcs/libstdc++/config/gnu.ml
===================================================================
RCS file: gnu.ml
diff -N gnu.ml
--- /dev/null Thu Feb 19 16:30:24 1998
+++ gnu.ml Thu May 13 20:24:10 1999
@@ -0,0 +1,6 @@
+# Elf with shared libm, so we can link it into the shared libstdc++.
+
+LIBS = $(ARLIB) $(ARLINK) $(SHLIB) $(SHLINK)
+SHFLAGS = -Wl,-soname,$(SHLIB)
+SHDEPS = -lm
+DEPLIBS = ../$(SHLIB)
More information about the Gcc-patches
mailing list