From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1125fa,9f5c1c8d844fc69e X-Google-Attributes: gid1125fa,public X-Google-Thread: 10d0a1,9f5c1c8d844fc69e X-Google-Attributes: gid10d0a1,public X-Google-Thread: fcfb9,9f5c1c8d844fc69e X-Google-Attributes: gidfcfb9,public X-Google-Thread: 111c93,9f5c1c8d844fc69e X-Google-Attributes: gid111c93,public X-Google-Thread: 1025b4,9f5c1c8d844fc69e X-Google-Attributes: gid1025b4,public From: fjh@cs.mu.oz.au (Fergus Henderson) Subject: Re: DLL mess Re: "No-one gets fired for buying Microsoft" Date: 1999/09/14 Message-ID: <7rl5b3$bnj$1@mulga.cs.mu.OZ.AU>#1/1 X-Deja-AN: 524856672 References: <37D81FE1.E90C3B1F@winkinc.com> <37e21eba.355787635@news.shore.net> <37e3383f.362320439@news.shore.net> <37e6591c.370733736@news.shore.net> Organization: Computer Science, The University of Melbourne Newsgroups: comp.os.linux.alpha,comp.os.linux.advocacy,comp.os.ms-windows.advocacy,comp.os.ms-windows.nt.advocacy,gnu.misc.discuss sean@forget.about.it (Sean Donnchadha) writes: >[someone wrote:] >>[someone, probably Sean Donnchadha, wrote:] >>>If the authors of a Windows shared library know >>>that an update is not back-compatible, they can do exactly what they'd >>>do under Unix - give the updated library a new name (e.g. MFC30 -> >>>MFC40). That works just as well in Windows as it does in Unix. >> >>Except that: ... >>2. It's not as easy for them to do this as it would be if the naming >>convention for new versions was standard. > >Huh? A naming convention makes it *EASIER* to rename something? That's >news to me. Actually yes, a naming convention *does* make it easier. If the next update of libfoo-1 is not binary compatible, but remains source compatible, then the developers of libfoo can call the new version libfoo-2, and the developers of programs that use libfoo need only recompile, without changing any of their source code or makefiles, since their makefiles refer only to `libfoo', not to `libfoo-1'. In contrast, if you don't have a naming convention, the makefiles (or project files or whatever equivalent you have) for programs that use libfoo must refer to `libfoo-1', rather than `libfoo', and so they must be modified whenever the major version number changes. Note that preserving source compatibility is generally quite a bit easier than preserving binary compatibility, so this situation is probably quite common. -- Fergus Henderson | "I have always known that the pursuit WWW: | of excellence is a lethal habit" PGP: finger fjh@128.250.37.3 | -- the last words of T. S. Garp.