From: Michael Schmitz Date: Thu, 14 Dec 2000 02:53:45 +0000 (+0000) Subject: * libtool.m4: Port to *-sni-sysv4 (Reliant Unix) X-Git-Tag: release-1-3d~46 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=51fdd772c6e5dc20b9880bf41f374a0a92e362c2;p=thirdparty%2Flibtool.git * libtool.m4: Port to *-sni-sysv4 (Reliant Unix) * README: added Reliant Unix to hte list of supported platforms * doc/PLATFORMS: added note on tests on Reliant Unix --- diff --git a/ChangeLog b/ChangeLog index 20479710e..be5a132b8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,10 +1,16 @@ +2000-12-14 Michael Schmitz + + * libtool.m4: Port to *-sni-sysv4 (Reliant Unix) + * README: added Reliant Unix to hte list of supported platforms + * doc/PLATFORMS: added note on tests on Reliant Unix + 2000-12-14 Masahiro Nobori * README: Updated. * NEWS: Updated. * libtool.m4: New port to NEWS-OS Release 6. -2000-12-14 Nick Hudson +2000-12-14 Nick Hudson * libtool.m4 (hardcode_libdir_flag_spec): Remove linker specification for netbsd. diff --git a/README b/README index 337c3acdb..c279e3103 100644 --- a/README +++ b/README @@ -33,6 +33,7 @@ Shared library support has been implemented for these platforms: NetBSD 1.x (*-*-netbsd*) OpenBSD 2.x (*-*-openbsd*) OS/2 using EMX (*-*-os2*) + Reliant Unix (*-sni-sysv4) [see note] SCO OpenServer 5.x (*-*-sco3.2v5*) SCO UnixWare 7.x (*-*-sysv5*) Solaris 2.x (*-*-solaris2*) @@ -56,6 +57,10 @@ You can only use gcc. This bug will hopefully be fixed in autoconf 2.14. NOTE: Any earlier DG/UX system with ELF executables, such as R3.10 or R4.10, is also likely to work, but hasn't been explicitly tested. +NOTE: Libtool has only been tested with the Siemens C-compiler and +an old version of gcc provided by Marco Walther you can find on +ftp://ftp.mch.sni.de/sni/mr/pd/gnu/gcc/gcc.2.7.2.3 on Reliant Unix. + Libtool's home page is: http://www.gnu.org/software/libtool/libtool.html diff --git a/doc/PLATFORMS b/doc/PLATFORMS index df23e9214..8cea39911 100644 --- a/doc/PLATFORMS +++ b/doc/PLATFORMS @@ -99,6 +99,10 @@ mips-sgi-irix5.2 gcc 1.3b ok (egcs-1.1.2, native ld) mips-sgi-irix5.2 cc 1.3b ok (cc 3.18) +mips-sni-sysv4 cc 1.3.5 ok + (Siemens C-compiler) +mips-sni-sysv4 gcc 1.3.5 ok + (gcc-2.7.2.3, GNU assembler 2.8.1, native ld) mipsel-unknown-openbsd2.1 gcc 1.0 ok powerpc-ibm-aix4.3.1.0 gcc 1.2f ok (egcs-1.1.1) diff --git a/libtool.m4 b/libtool.m4 index ff3cc5d3d..281178628 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -897,7 +897,11 @@ AC_CACHE_VAL(ac_cv_prog_cc_pic, sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) ac_cv_prog_cc_pic='-KPIC' ac_cv_prog_cc_static='-Bstatic' - ac_cv_prog_cc_wl='-Wl,' + if test "x$host_vendor" = xsni; then + ac_cv_prog_cc_wl='-LD' + else + ac_cv_prog_cc_wl='-Wl,' + fi ;; uts4*) @@ -1591,10 +1595,15 @@ else ;; sysv4) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + if test "x$host_vendor" = xsno; then + archive_cmds='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linkopts' + hardcode_direct=yes # is this really true??? + else + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=no #Motorola manual says yes, but my tests say they lie + fi runpath_var='LD_RUN_PATH' hardcode_shlibpath_var=no - hardcode_direct=no #Motorola manual says yes, but my tests say they lie ;; sysv4.3*) @@ -2000,6 +2009,12 @@ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) soname_spec='${libname}${release}.so$major' shlibpath_var=LD_LIBRARY_PATH case "$host_vendor" in + sni) + file_magic_cmd='/bin/file' + [deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"] + file_magic_test_file=/lib/libc.so + shlibpath_overrides_runpath=no + ;; sequent) file_magic_cmd='/bin/file' [deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )']