libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AIX shared libraries in MLB and 1.4


From: libtool
Subject: AIX shared libraries in MLB and 1.4
Date: Wed, 25 Apr 2001 08:11:15 -0500
User-agent: Mutt/1.1.12i

I'm looking over the differences in how shared libraries are built
between MLB and 1.4. Some questions:
  1. Any reason for version_type=linux in 1.4 and not MLB?
  2. Should we sync up shared library names between 1.4 and MLB
     (cf soname_spec below). Shared library names in MLB are
     libfoo.so.o while in 1.4 its libfoo.so.$major.

-- 
albert chin (address@hidden)

-- snip snip
Index: libtool.m4
===================================================================
RCS file: /home/cvs/libtool/libtool.m4,v
retrieving revision 1.166
diff -u -3 -p -r1.166 libtool.m4
--- libtool.m4  2001/04/24 23:40:42     1.166
+++ libtool.m4  2001/04/25 12:51:50
@@ -1832,7 +1832,6 @@ aix3*)
   ;;
 
 aix4* | aix5*)
-  version_type=linux
   if test "$host_cpu" = ia64; then
     # AIX 5 supports IA64
     library_names_spec='${libname}${release}.so$major 
${libname}${release}.so$versuffix $libname.so'
@@ -1854,18 +1853,20 @@ aix4* | aix5*)
       fi
       ;;
     esac
-    # AIX (on Power*) has no versioning support, so currently we can not 
hardcode correct
-    # soname into executable. Probably we can add versioning support to
-    # collect2, so additional links can be useful in future.
+    # AIX (on Power*) has no versioning support, so currently we can
+    # not hardcode correct soname into executable. Probably we can
+    # add versioning support to collect2, so additional links can
+    # be useful in future.
     if test "$aix_use_runtimelinking" = yes; then
-      # If using run time linking (on AIX 4.2 or later) use lib<name>.so 
instead of
-      # lib<name>.a to let people know that these are not typical AIX shared 
libraries.
+      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
+      # instead of lib<name>.a to let people know that these are not
+      # typical AIX shared libraries.
       library_names_spec='${libname}${release}.so$versuffix 
${libname}${release}.so$major $libname.so'
     else
       # We preserve .a as extension for shared libraries through AIX4.2
       # and later when we are not doing run time linking.
       library_names_spec='${libname}${release}.a $libname.a'
-      soname_spec='${libname}${release}.so$major'
+      soname_spec='${libname}${release}.so$major.o'
     fi
     shlibpath_var=LIBPATH
     deplibs_check_method=pass_all



reply via email to

[Prev in Thread] Current Thread [Next in Thread]