[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: Max Bowsher <maxb_at_ukf.net>
Date: 2005-08-21 01:49:58 CEST

Branko Čibej wrote:
> Unlike Unix, Windows doesn't have --rpath or LD_LIBRARY_PATH, and once a
> DLL is loaded by one application, usually other applications that need
> the same DLL will try to use it. ("Usually" because there are edge
> cases).

Do you have more details on these edge cases?

> Encoding the exact API version in the DLL name avoids
> compatibility problems.
>
> Notice that we haven't had a single instance of the Windows SVN binary
> picking up the wrong BDB shared lib, whilst these problems have been
> relatively common on Unix. BDB's DLL naming convention automagically
> avoids this issue.

That's not quite a fair comparison.

BDB encodes major and minor versions in the DLL name, because changed minor
versions aren't supposed to be binary compatible replacements. On the other
hand, micro version increments, are compatible, so the micro version isn't
in the DLL name.

Subversion minor version increments are supposed to be binary compatible, so
by the same logic, the DLL name doesn't include the minor number, only the
major.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Aug 21 01:50:54 2005

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