From 6829cac4e4cf560de1ad7b26d56e4a4165ef976d Mon Sep 17 00:00:00 2001 From: Masahiro Nobori Date: Thu, 14 Dec 2000 01:55:07 +0000 Subject: [PATCH] * README: Updated. * NEWS: Updated. * libtool.m4: New port to NEWS-OS Release 6. * ltcf-c.sh: ditto. --- ChangeLog | 7 +++++++ NEWS | 1 + README | 1 + ltcf-c.sh | 13 +++++++++++++ ltconfig.in | 10 ++++++++++ 5 files changed, 32 insertions(+) diff --git a/ChangeLog b/ChangeLog index 298d66d8e..122d892d3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2000-12-14 Masahiro Nobori + + * README: Updated. + * NEWS: Updated. + * libtool.m4: New port to NEWS-OS Release 6. + * ltcf-c.sh: ditto. + 2000-12-14 Nick Hudson * ltcf-c.sh (hardcode_libdir_flag_spec): Remove linker diff --git a/NEWS b/NEWS index 5327baddf..46861bef0 100644 --- a/NEWS +++ b/NEWS @@ -23,6 +23,7 @@ New in 1.3d: 2000-??-??; CVS version 1.3c, Libtool team: * Start of support code for cross-compiling to win32. * libltdl can now be built as a dll with win32. * m4 macros needed to configure libltdl split out into libltdl/ltdl.m4. +* New port to NEWS-OS Release 6. * Improved support for mingw32, Compaq Tru64 V5.0 and Digital Unix V4.*. * Initial support for ia64 linux. * Initial support for a.out freebsd shared libs. diff --git a/README b/README index 27fde37a4..c41e1f7cf 100644 --- a/README +++ b/README @@ -20,6 +20,7 @@ Shared library support has been implemented for these platforms: HP-UX 9.x, 10.x, 11.x (*-*-hpux9*, *-*-hpux10*, *-*-hpux11*) [see note] IRIX 5.x, 6.x (*-*-irix5*, *-*-irix6*) NCR MP-RAS 3.x (*-ncr-sysv4.3*) [see note] + NEWS-OS Release 6 (*-*-newsos6) Motorola System V 4 (mk88-motorola-sysv4) [see note] NetBSD 1.x (*-*-netbsd*) OpenBSD 2.x (*-*-openbsd*) diff --git a/ltcf-c.sh b/ltcf-c.sh index a50892f84..c8a8d7a84 100644 --- a/ltcf-c.sh +++ b/ltcf-c.sh @@ -377,6 +377,14 @@ else hardcode_shlibpath_var=no ;; + newsos6) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linkopts' + hardcode_direct=yes + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_shlibpath_var=no + ;; + openbsd*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-R$libdir' @@ -593,6 +601,11 @@ else ac_cv_prog_cc_pic='-DDLL_EXPORT' ;; + newsos6) + ac_cv_prog_cc_pic='-KPIC' + ac_cv_prog_cc_static='-Bstatic' + ;; + osf3* | osf4* | osf5*) # All OSF/1 code is PIC. ac_cv_prog_cc_wl='-Wl,' diff --git a/ltconfig.in b/ltconfig.in index ea6f886d0..b4f8eff77 100755 --- a/ltconfig.in +++ b/ltconfig.in @@ -1124,6 +1124,16 @@ netbsd*) hardcode_into_libs=yes ;; +newsos6) + version_type=linux + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + file_magic_cmd=/usr/bin/file + deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' + file_magic_test_file=/usr/lib/libnls.so + ;; + openbsd*) version_type=sunos if test "$with_gnu_ld" = yes; then -- 2.47.3