From: Mark Kettenis Date: Sat, 15 May 1999 02:06:37 +0000 (+0000) Subject: configure.in: Add shared library support for the Hurd (*-*-gnu*). X-Git-Tag: prereleases/gcc-2.95-test~465 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b8b672215f213199453f9b6a856e06d35feb9da;p=thirdparty%2Fgcc.git configure.in: Add shared library support for the Hurd (*-*-gnu*). * configure.in: Add shared library support for the Hurd (*-*-gnu*). * config/gnu.ml: New file. From-SVN: r26942 --- diff --git a/libstdc++/ChangeLog b/libstdc++/ChangeLog index 731a4404a2e7..f6fa7dd38380 100644 --- a/libstdc++/ChangeLog +++ b/libstdc++/ChangeLog @@ -1,3 +1,9 @@ +1999-05-15 Mark Kettenis + + * configure.in: Add shared library support for the Hurd + (*-*-gnu*). + * config/gnu.ml: New file. + 1999-05-12 Jason Merrill * 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 000000000000..2a0380327f7c --- /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 c0c701398f10..8262565bd880 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