libtool
[Top][All Lists]
Advanced

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

Re: AIX shared libraries in MLB and 1.4


From: mcnichol
Subject: Re: AIX shared libraries in MLB and 1.4
Date: Wed, 25 Apr 2001 10:38:31 -0500

I've been meaning to send in a patch about this:

soname_spec='${libname}${release}.so$major'

is what we finally decided to go with for AIX standard linking.
It is important to get these synched up, or we will have binary
compatibility problems.

Dan


> From address@hidden Wed Apr 25 08:13:05 2001
> 
> 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
> 
> _______________________________________________
> Libtool mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/libtool
> 



reply via email to

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