bug-libtool
[Top][All Lists]
Advanced

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

Re: IRIX and .so numbers


From: Robert Boehne
Subject: Re: IRIX and .so numbers
Date: Mon, 07 Jan 2002 09:42:44 -0600

Nick:

I have recently noticed this as well.  I get the correct version on
every platform except for IRIX where it is `expr $correct + 1`.
You are using CVS, correct?  I'm no expert on the versioning
Libtool code so if anyone could comment on why this might
be there that'd help.  Nick, you should always tell us what version
you're using when you ask about a bug.

Thanks,

Robert

Nick Blievers wrote:
> 
> Hi,
>         in ltmain.in there is the following block of code:
>         irix | nonstopux)
>           case $version_type in
>             nonstopux) verstring_prefix=nonstopux ;;
>             *)         verstring_prefix=sgi ;;
>           esac
>           verstring="$verstring_prefix$major.$revision"
> 
>           major=`expr $current - $age + 1`
> 
>           # Add in all the interfaces that we are compatible with.
>           loop=$revision
>           while test "$loop" -ne 0; do
>             iface=`expr $revision - $loop`
>             loop=`expr $loop - 1`
>             verstring="$verstring_prefix$major.$iface:$verstring"
>           done
> 
>           # Before this point, $major must not contain `.'.
>           major=.$major
>           versuffix="$major.$revision"
>           ;;
> 
>         linux)
>           major=.`expr $current - $age`
>           versuffix="$major.$age.$revision"
>           ;;
> 
> Can anyone explain why major=`expr $current - $age + 1` for IRIX? When I am
> building freetype, I get *.so.6 on Linux and *.so.7 on IRIX, which suggests
> the +1 is erroneous. Can anyone confirm?
> 
> Removing the +1 seems to give the desired results, and allows my OpenOffice
> build to continue.
> 
> Thanks
> 
> Nick
> 
> _______________________________________________
> Bug-libtool mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-libtool

-- 
Robert Boehne             Software Engineer
Ricardo Software   Chicago Technical Center
TEL: (630)789-0003 x. 238
FAX: (630)789-0127
email:  address@hidden



reply via email to

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