diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-03-05 01:21:14 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-03-05 01:21:14 +0000 |
commit | 8374f4d42aa87cd45b39f9da3450122d9e285ba2 (patch) | |
tree | 9c421c2db5471e2aa8082612a7e2da2eb28ce41e | |
parent | ec7b5e188a28c3b2391c8915866a96c69e174f2f (diff) | |
download | gcc-8374f4d42aa87cd45b39f9da3450122d9e285ba2.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25594 138bc75d-0d04-0410-961f-82ee72b054a4
-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 8796c6bb92a..27a4f2e3904 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 00000000000..7e6eecee80c --- /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 3da93009c20..a8259893315 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" ;; |