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

Re: building python bindings (and subversion) as dll under cygwin

From: Max Bowsher <maxb_at_ukf.net>
Date: 2004-03-08 18:23:10 CET

marvin greenberg wrote:
> Has anyone done this successfully?

Subversion, yes. Python bindings, no (not attempted).

> From the reading I've done, the additional LT_LDFLAGS = -no-undefined is
> needed to get dlls to be built under CYGWIN.

Basically, libtool needs -no-undefined before it will attempt a DLL. Of
course, it also requires that there actually be no undefined symbols - which
caused errors building the tests last time I tried.

> In addition, all library
> dependencies must be included at every link. I also came across a (I
think)
> bug in libtool, which I patched (attached).

Your attachment got lost somewhere.

> There is also some nonsense
> about including a dummy WinMain in every dll.

I have not experienced this.

> I've successfully gotten apr, apr-util, and neon to build and install as
> dll's. I believe to get ths to work, each dll will have to be installed
> before building the next one (build and install libsvn_subr, build and
> install libsvn_delta...)

Not needed, I'm building svn with DLLs with a simple "./configure && make &&
make install", having patched in the -no-undefined, and patched out the
build of the tests.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Mar 8 18:25:02 2004

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.