diff options
Diffstat (limited to 'libstdc++')
-rw-r--r-- | libstdc++/ChangeLog | 6 | ||||
-rw-r--r-- | libstdc++/config/freebsd.ml | 6 | ||||
-rw-r--r-- | libstdc++/configure.in | 2 |
3 files changed, 14 insertions, 0 deletions
diff --git a/libstdc++/ChangeLog b/libstdc++/ChangeLog index 8796c6b..27a4f2e 100644 --- a/libstdc++/ChangeLog +++ b/libstdc++/ChangeLog @@ -1,3 +1,9 @@ +Fri Mar 5 02:16:39 1999 Doug Rabson <dfr@freebsd.org> + + * configure.in: Support shared libs on FreeBSD 3.x and 4.x + * config/freebsd.ml: A copy of config/linux.ml since they are both + ELF and both have a shared libm. + 1999-02-24 Jason Merrill <jason@yorick.cygnus.com> * configure.in: Fix INSTALLDIR sed pattern for Solaris sed. diff --git a/libstdc++/config/freebsd.ml b/libstdc++/config/freebsd.ml new file mode 100644 index 0000000..7e6eece --- /dev/null +++ b/libstdc++/config/freebsd.ml @@ -0,0 +1,6 @@ +# Elf with shared libm, so we can link it into the shared libstdc++. + +LIBS = $(ARLIB) $(SHLIB) $(SHLINK) mshlink +SHFLAGS = -Wl,-soname,$(MSHLINK) +SHDEPS = -lm +DEPLIBS = ../$(SHLIB) diff --git a/libstdc++/configure.in b/libstdc++/configure.in index 3da9300..a825989 100644 --- a/libstdc++/configure.in +++ b/libstdc++/configure.in @@ -62,6 +62,8 @@ if [ "${shared}" = "yes" ]; then *-*-hpux*) frags="${frags} hpux.ml" ;; *-*-irix[56]*) frags="${frags} irix5.ml" ;; *-*-linux*aout*) ;; + *-*-freebsd2) ;; + *-*-freebsd*) frags="${frags} freebsd.ml" ;; *-*-linux*) frags="${frags} linux.ml" ;; *-*-openbsd*) frags="${frags} openbsd.ml" ;; *-*-sysv[45]*|*-*-udk*) frags="${frags} elf.ml" ;; |