[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: IRIX and .so numbers
From: |
Nick Blievers |
Subject: |
RE: IRIX and .so numbers |
Date: |
Tue, 8 Jan 2002 07:46:34 +1100 |
Hi Robert,
Sorry, I am using version 1.3.2, but have noticed the problem also
occurs
in 1.3.4 and the latest CVS version (at least from what I can see via
cvsweb).
Thanks! :)
Nick
> -----Original Message-----
> From: address@hidden [mailto:address@hidden
> Behalf Of Robert Boehne
> Sent: Tuesday, 8 January 2002 2:43
> To: Nick Blievers
> Cc: address@hidden
> Subject: Re: IRIX and .so numbers
>
>
> 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
>