mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-16 03:39:55 +08:00
ltcf-cxx.sh: Support creation of C++ shared libraries on recent versions of FreeBSD (release...
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. From-SVN: r37663
This commit is contained in:
parent
b60585a03c
commit
7686cadfb2
@ -1,3 +1,11 @@
|
||||
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.
|
||||
|
||||
2000-11-16 Fred Fish <fnf@be.com>
|
||||
|
||||
* configure.in (enable_libstdcxx_v3): Fix typo,
|
||||
|
10
ltcf-cxx.sh
10
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)
|
||||
|
Loading…
Reference in New Issue
Block a user