]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtool.m4: Port to *-sni-sysv4 (Reliant Unix)
authorMichael Schmitz <mschmitz@iname.com>
Thu, 14 Dec 2000 02:53:45 +0000 (02:53 +0000)
committerGary V. Vaughan <gary@gnu.org>
Thu, 14 Dec 2000 02:53:45 +0000 (02:53 +0000)
* README: added Reliant Unix to hte list of supported platforms
* doc/PLATFORMS: added note on tests on Reliant Unix

ChangeLog
README
doc/PLATFORMS
libtool.m4

index 20479710edf624b1e4b5bc5dd77984bb338ee46f..be5a132b880562e86e5d26cb8e0892738edb6264 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,10 +1,16 @@
+2000-12-14  Michael Schmitz  <mschmitz@iname.com>
+
+       * 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  <nobori@ss.titech.ac.jp>
 
        * README:  Updated.
        * NEWS: Updated.
        * libtool.m4:  New port to NEWS-OS Release 6.
        
-2000-12-14  Nick Hudson  <nick@nthcliff.demon.co.uk>
+2000-12-14  Nick Hudson  <skrll@netbsd.org>
        
        * libtool.m4 (hardcode_libdir_flag_spec):  Remove linker
        specification for netbsd.
diff --git a/README b/README
index 337c3acdb4bbe43e810174c1e4df33c3b507a628..c279e31038c02ebc868021fe0c39e3fc66fc1de7 100644 (file)
--- 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
index df23e92140b3b3a2f5fd8ec0234e8a7aea659717..8cea39911487aeeff00db1af36790bffea734f8a 100644 (file)
@@ -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)
index ff3cc5d3d79c3491d1e2d01756a36ac145068e24..281178628ba4833391f4bfdca5b15adabc835faa 100644 (file)
@@ -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 )']