aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>1999-05-15 02:06:37 +0000
committerJeffrey A Law <law@cygnus.com>1999-05-15 02:06:37 +0000
commitdbd63145aaf0b9745731675cc5374dd1c77fc2a6 (patch)
tree4941a8a73c0c2dfa8112714456949d25d2c8654c
parent73eb878824d73f45229ba4811cf73a1e68953230 (diff)
* configure.in: Add shared library support for the Hurd
(*-*-gnu*). * config/gnu.ml: New file. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@26942 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--libstdc++/ChangeLog6
-rw-r--r--libstdc++/config/gnu.ml6
-rw-r--r--libstdc++/configure.in1
3 files changed, 13 insertions, 0 deletions
diff --git a/libstdc++/ChangeLog b/libstdc++/ChangeLog
index 731a4404a2e..f6fa7dd3838 100644
--- a/libstdc++/ChangeLog
+++ b/libstdc++/ChangeLog
@@ -1,3 +1,9 @@
+1999-05-15 Mark Kettenis <kettenis@gnu.org>
+
+ * configure.in: Add shared library support for the Hurd
+ (*-*-gnu*).
+ * config/gnu.ml: New file.
+
1999-05-12 Jason Merrill <jason@yorick.cygnus.com>
* configure.in (compiler_name): Don't do the skip-this-dir thing
diff --git a/libstdc++/config/gnu.ml b/libstdc++/config/gnu.ml
new file mode 100644
index 00000000000..2a0380327f7
--- /dev/null
+++ b/libstdc++/config/gnu.ml
@@ -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)
diff --git a/libstdc++/configure.in b/libstdc++/configure.in
index c0c701398f1..8262565bd88 100644
--- a/libstdc++/configure.in
+++ b/libstdc++/configure.in
@@ -92,6 +92,7 @@ if [ "${shared}" = "yes" ]; then
*-*-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