From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: fcfb9,9f5c1c8d844fc69e X-Google-Attributes: gidfcfb9,public X-Google-Thread: 10d0a1,9f5c1c8d844fc69e X-Google-Attributes: gid10d0a1,public X-Google-Thread: 1125fa,9f5c1c8d844fc69e X-Google-Attributes: gid1125fa,public X-Google-Thread: 111c93,9f5c1c8d844fc69e X-Google-Attributes: gid111c93,public X-Google-Thread: 1025b4,9f5c1c8d844fc69e X-Google-Attributes: gid1025b4,public From: seebs@plethora.net (Peter Seebach) Subject: Re: DLL mess Re: "No-one gets fired for buying Microsoft" Date: 1999/09/14 Message-ID: #1/1 X-Deja-AN: 525065449 References: <37D81FE1.E90C3B1F@winkinc.com> <37e6591c.370733736@news.shore.net> <7rl5b3$bnj$1@mulga.cs.mu.OZ.AU> <37df4efc.433677244@news.shore.net> X-Complaints-To: abuse@plethora.net X-Trace: ptah.visi.com 937332141 205.166.146.8 (Tue, 14 Sep 1999 13:02:21 CDT) Organization: Plethora . Net - More net, less spam! NNTP-Posting-Date: Tue, 14 Sep 1999 13:02:21 CDT Newsgroups: comp.os.linux.alpha,comp.os.linux.advocacy,comp.os.ms-windows.advocacy,comp.os.ms-windows.nt.advocacy,gnu.misc.discuss In article <37df4efc.433677244@news.shore.net>, Se�n � Donnchadha 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. After this, the program knows which version it requires, and which other versions it may be okay with. >The name of the shared library file may be abstracted >away elegantly - with things like symbolic links, import libraries, or >pragmas - but making development tools depend on a naming convention >is gross. Making development tools use a naming convention allows you to avoid DLL hell. It lets you have two vital things: 1. All versions, including old ones, of a library, so you can avoid incompatability. 2. A reliable way to deterministically find any library which implements the API for "foo". -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!