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

[PATCH] Compiling Subversion Libraries as DLLs on Windows

From: Russell Yanofsky <rey4_at_columbia.edu>
Date: 2003-10-14 07:46:57 CEST

I'd like to get some feedback on a patch that builds subversion libraries as
dlls instead of libs on windows. It uses the
automatically-generated-DEF-file approach discussed back in March in this


The patch is actually three separate patches, which are attached to this
message and are meant to be applied successively. The first patch causes
subversion libraries to be linked with the dynamic apr library instead of
the static one. The second patch eliminates some special case code from
gen_win.py for compiling mod_dav_svn and mod_authz_svn which the first patch
obsoletes. And the third patch contains the changes needed to generate DEF
files and compile the libraries as DLLs.

These patches aren't ready to be applied. They cause at least a few

1) They break compilation of test programs which call non-exported library
functions. (See test-errors.txt for the resulting link errors.)

2) They break the windows testing script because subversion exes won't run
without being in the same directory as the dll's they depend on.

3) They probably break the windows installer. It would need to be updated to
install the new dlls.

Anyone have ideas on how to move forward, or feedback on what's been done so

- Russ

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

  • application/octet-stream attachment: p01.diff
  • application/octet-stream attachment: p01.log
  • application/octet-stream attachment: p02.diff
  • application/octet-stream attachment: p02.log
  • application/octet-stream attachment: p03.diff
  • application/octet-stream attachment: p03.log
Received on Tue Oct 14 07:47:47 2003

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.