[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AIX shared libraries in MLB and 1.4
From: |
Robert Boehne |
Subject: |
Re: AIX shared libraries in MLB and 1.4 |
Date: |
Wed, 25 Apr 2001 10:10:06 -0500 |
Albert:
Yes, this should be the case that MLB and 1.4 are similar.
I'm suprised that they aren't actually, but I haven't really
kept up with the 1.4 patches. Does this patch cause any
differences in the test suite results? If not I'm all for it.
Robert
address@hidden wrote:
>
> 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
--
Robert Boehne Software Engineer
Ricardo Software Chicago Technical Center
TEL: (630)789-0003 x. 238
FAX: (630)789-0127
email: address@hidden