diff options
author | Doug Rabson <dfr@freebsd.org> | 1999-03-05 01:21:14 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1999-03-04 18:21:14 -0700 |
commit | 268e8aeed4905a300ae6a7a2ca22d94b9ce3cfcd (patch) | |
tree | 9c421c2db5471e2aa8082612a7e2da2eb28ce41e /libstdc++ | |
parent | 6f67a30d15afdf01e89ad5b8c88f5ad9bef94bb6 (diff) | |
download | gcc-268e8aeed4905a300ae6a7a2ca22d94b9ce3cfcd.zip gcc-268e8aeed4905a300ae6a7a2ca22d94b9ce3cfcd.tar.gz gcc-268e8aeed4905a300ae6a7a2ca22d94b9ce3cfcd.tar.bz2 |
configure.in: Support shared libs on FreeBSD 3.x and 4.x
* 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.
From-SVN: r25594
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" ;; |