[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: MinGW libraries

From: Branko Čibej <brane_at_xbc.nu>
Date: 2005-08-18 00:58:23 CEST

Max Bowsher wrote:

> Branko Čibej wrote:
>
>> I think it makes
>> sense to encode both the major and minor version numbers in the DLLs,
>> because we need both to define the available set of APIs.
>
>
> If you want the DLLs to be usable in the ways described by our
> compatibility rules, you *must* encode only the major number in the name.
> Otherwise, something built against 1.1 won't work with 1.2, which our
> compat rules say it should.

There's a dilemma here, known as "Windows DLL hell". Since we have no
control over installations, we can't prevent somebody from _downgrading_
the installed DLLs. If the DLL names in svn-1.x are the same as in
svn-1.x+1, the newer stuff will break.

Come to think of it, I think we should even encode the runtime version
in the DLL name, so that a program compiled with VS.NET won't pick up
DLLs created with MSVC6 by mistake.

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 18 00:59:47 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.