summaryrefslogtreecommitdiffstats
path: root/ltcf-cxx.sh
diff options
context:
space:
mode:
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2000-11-22 18:31:25 +0000
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2000-11-22 18:31:25 +0000
commitb21e5977ac90d428be79dc087af89e03deea42ec (patch)
tree6a753ec47e6d6107aac293500c653a1b5811dce5 /ltcf-cxx.sh
parent5dbf56a094b47da864ce8dd6c441496e3c26a4a9 (diff)
downloadppe42-gcc-b21e5977ac90d428be79dc087af89e03deea42ec.tar.gz
ppe42-gcc-b21e5977ac90d428be79dc087af89e03deea42ec.zip
2000-11-22 Loren J. Rittle <ljrittle@acm.org>
* ltcf-cxx.sh: Support creation of C++ shared libraries on recent versions of FreeBSD (release 3 or later). * ltconfig: On FreeBSD, -lc must not be provided when building a shared library or else the standard -pthread gcc option is rendered worthless to later users of the built library. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37663 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'ltcf-cxx.sh')
-rw-r--r--ltcf-cxx.sh10
1 files changed, 7 insertions, 3 deletions
diff --git a/ltcf-cxx.sh b/ltcf-cxx.sh
index cefa0085624..fbcf248faa7 100644
--- a/ltcf-cxx.sh
+++ b/ltcf-cxx.sh
@@ -167,11 +167,15 @@ case "$host_os" in
;;
esac
;;
- freebsd*)
- # FreeBSD uses GNU C++ and GNU ld
- # FIXME: insert proper C++ library support
+ freebsd[12]*)
+ # C++ shared libraries reported to be fairly broken before switch to ELF
ld_shlibs=no
;;
+ freebsd*)
+ # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
+ # conventions
+ ld_shlibs=yes
+ ;;
hpux*)
case "$cc_basename" in
CC)
OpenPOWER on IntegriCloud