In article <37e49171.450690508@news.shore.net>, Se�n � Donnchadha wrote: >Not quite. The linker, given "foo", finds "foo.sa", which is simply >the import library for a particular major revision of foo. Roughly, yes. But it can figure out which one it wants. >>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? Two options: 1. The developer just said "1.2", in which case, it assumes it works with 1.2.4. Since the sytem provided a mechanism for library maintainers to indicate level of compatability, it is almost certainly right. 2. The developer said "1.2.3", in which case, it ignores a newer version. >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. If the developer cares, the developer will have specified "1.2.3" as the requested version. >> 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. Except that, if the programs are worried, they bind to the old version anyway. Unix gives you a choice. More importantly, because it is *standard and easy* to indicate mild version changes, and distinguish them from major ones, the people producing the libraries actually do so. >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. I am unlikely to admit something so godawful stupid. Descriptive text is cute, but not useful. You can't have a program parse the text, and developers in Windows-land pick descriptive text that you can't actually read - because they use different conventions. A standard convention is a very good thing. It's like which side of the road you drive on; the important thing is that people agree. -s -- Copyright 1999, All rights reserved. Peter Seebach / seebs@plethora.net C/Unix wizard, Pro-commerce radical, Spam fighter. Boycott Spamazon! Will work for interesting hardware. http://www.plethora.net/~seebs/ Visit my new ISP --- More Net, Less Spam!