ltcf-cxx.sh: Support creation of C++ shared libraries on recent versions of FreeBSD (release...
2001-04-10 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: r41237
This commit is contained in:
parent
585f3871e9
commit
06729913c7
|
@ -1,3 +1,11 @@
|
||||||
|
2001-04-10 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.
|
||||||
|
|
||||||
2001-04-06 Joseph S. Myers <jsm28@cam.ac.uk>
|
2001-04-06 Joseph S. Myers <jsm28@cam.ac.uk>
|
||||||
|
|
||||||
* MAINTAINERS: Add self and RTH as C front end maintainers.
|
* MAINTAINERS: Add self and RTH as C front end maintainers.
|
||||||
|
|
10
ltcf-cxx.sh
10
ltcf-cxx.sh
|
@ -233,11 +233,15 @@ case $host_os in
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
freebsd*)
|
freebsd[12]*)
|
||||||
# FreeBSD uses GNU C++ and GNU ld
|
# C++ shared libraries reported to be fairly broken before switch to ELF
|
||||||
# FIXME: insert proper C++ library support
|
|
||||||
ld_shlibs=no
|
ld_shlibs=no
|
||||||
;;
|
;;
|
||||||
|
freebsd*)
|
||||||
|
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
|
||||||
|
# conventions
|
||||||
|
ld_shlibs=yes
|
||||||
|
;;
|
||||||
hpux*)
|
hpux*)
|
||||||
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
|
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
|
||||||
hardcode_libdir_separator=:
|
hardcode_libdir_separator=:
|
||||||
|
|
1
ltconfig
1
ltconfig
|
@ -1108,6 +1108,7 @@ freebsd*)
|
||||||
freebsd-elf*)
|
freebsd-elf*)
|
||||||
library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
|
library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
|
||||||
need_version=no
|
need_version=no
|
||||||
|
need_lc=no
|
||||||
need_lib_prefix=no
|
need_lib_prefix=no
|
||||||
;;
|
;;
|
||||||
freebsd-*)
|
freebsd-*)
|
||||||
|
|
Loading…
Reference in New Issue