RE: [gtk-list] Re: 1.1 <=> 1.2 not compatible, why not 2.0?



When compatibility is broken, you need to change the minor
version.  This allows the dynamic linker to distinguish between
which library to use.  libgtk.so.1.0 or libgtk.so.1.2

Although during compilation time only one library will be referenced.
If you compiled under libgtk.so.1.0 and then installed libgtk.so.1.2
As long as you keep libgtk.so.1.0 around (in LD_LIBRARY_PATH)
you do not need to recompile.

It is common practice to do this. You don't change the major 
version on compatibility issues.  You usually change the
major version on complete design changes.

The tiny version is what gets changed for non compatibility changes
ie. libgtk.so.1.2.1.


Just my 2cents worth :)


Steve

> -----Original Message-----
> From:	Cyrille Artho [SMTP:cartho@netlink.ch]
> Sent:	Thursday, March 25, 1999 10:56 AM
> To:	gtk-list@redhat.com
> Subject:	[gtk-list] Re: 1.1 <=> 1.2 not compatible, why not 2.0?
> 
> So why is gtk1.2 not gtk2.0? AFAIK you change the major version number
> if compatibility is broken.
> --
> Regards,
> Cyrille Artho - http://artho.com/
> The human mind treats a new idea the way the body treats a strange
> protein -- it rejects it.
> 		-- P. Medawar
> 
> -- 
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com <
> /dev/null



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