Re: XForms distribution

Steve Lamont (spl@szechuan.ucsd.edu)
Thu, 27 Mar 97 05:33:57 PST

To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :

> I just realized something, and thought it might be useful. When building
> the XForms shared library on Linux, at least, wouldn't it be possible to
> embed version information in the library, i.e.
>
> gcc -shared -Wl,-soname,libforms.so.0 -o libforms.so.0.86 *.o
>
> (or something like this)

This information is already in the library. Use the `ident' command:

The library:

spl> ident /usr/local/lib/libforms.a
/usr/local/lib/libforms.a:
$State: Beta $
$Revision: 0.86 $
$Date: 1997/03/22 06:04:08 $

A random XForms application:

spl> ident /usr/local/bin/maildir
/usr/local/bin/maildir:
$State: Beta $
$Revision: 0.70 $
$Date: 1995/05/17 22:28:08 $
$Id: libspl.c,v 1.1 1995/01/31 02:08:14 spl Exp $

Yikes! Is that thing *really* that old -- I guess I'd better rebuild
it!

spl
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/xforms-archive/