From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1025b4,9f5c1c8d844fc69e X-Google-Attributes: gid1025b4,public X-Google-Thread: 10d0a1,9f5c1c8d844fc69e X-Google-Attributes: gid10d0a1,public X-Google-Thread: 111c93,9f5c1c8d844fc69e X-Google-Attributes: gid111c93,public X-Google-Thread: 1125fa,9f5c1c8d844fc69e X-Google-Attributes: gid1125fa,public X-Google-Thread: fcfb9,9f5c1c8d844fc69e X-Google-Attributes: gidfcfb9,public From: sean@forget.about.it (Se�n � Donnchadha) Subject: Re: DLL mess Re: "No-one gets fired for buying Microsoft" Date: 1999/09/14 Message-ID: <37e49171.450690508@news.shore.net>#1/1 X-Deja-AN: 525072344 Content-Transfer-Encoding: 7bit References: <37D81FE1.E90C3B1F@winkinc.com> <37e6591c.370733736@news.shore.net> <7rl5b3$bnj$1@mulga.cs.mu.OZ.AU> <37df4efc.433677244@news.shore.net> Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@shore.net X-Trace: news.shore.net 937333494 207.244.116.3 (Tue, 14 Sep 1999 14:24:54 EDT) Organization: Shore.Net/Eco Software, Inc; (info@shore.net) MIME-Version: 1.0 NNTP-Posting-Date: Tue, 14 Sep 1999 14:24:54 EDT Newsgroups: comp.os.linux.alpha,comp.os.linux.advocacy,comp.os.ms-windows.advocacy,comp.os.ms-windows.nt.advocacy,gnu.misc.discuss seebs@plethora.net (Peter Seebach) wrote: >> >>No offense, but what you're saying here is nonsense. If your makefile >>specifies "libfoo", the linker will use "libfoo"; it won't assume that >>you're using this or that naming convention and look for a file with >>some other name. > >You don't understand. > >'libfoo' *IS* 'libfoo.2.0.so'. > >The linker, given "foo", looks for the most-recent version of "libfoo.*.so", >and writes into the program it creates which version it found. > Not quite. The linker, given "foo", finds "foo.sa", which is simply the import library for a particular major revision of foo. > >After this, the program knows which version it requires, and which other >versions it may be okay with. > What the heck does "may be okay with" mean? The program certainly does know which version it requires - say 1.2.3. Now, how does it know whether it will work with 1.2.4 when that's released? Answer: it doesn't. When 1.2.4 is installed, the program will start using it - a combination that may not have been lab-tested. > >Making development tools use a naming convention allows you to avoid DLL >hell. > Utter nonsense. > > It lets you have two vital things: > 1. All versions, including old ones, of a library, so you can > avoid incompatability. > But this *DOESN'T* avoid incompatibility! When you install a minor library revision, programs using the previous one get switched over to use the new one. *THAT'S* where incompatibility can creep in, and Unix can do nothing about that. > > 2. A reliable way to deterministically find any library which > implements the API for "foo". > Great, now if only I knew what "foo" meant. Admit it, a standard mechanism for tagging an executable with descriptive text of arbitrary length is a whole lot better. And Windows provides that.