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

building python bindings (and subversion) as dll under cygwin

From: marvin greenberg <mgreenberg_at_dctd.No.spam.saic.com>
Date: 2004-03-08 16:46:57 CET

Has anyone done this successfully? Is there a cookbook or something? We use
cygwin for our build environment, and the python built into cygwin cannot use
the dlls built from a "stand-alone" python installation.

 From the reading I've done, the additional LT_LDFLAGS = -no-undefined is needed
to get dlls to be built under CYGWIN. 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). There is also some nonsense about including a dummy
WinMain in every dll.

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...)
  But I'm a libtool neophyte, and it is not at all clear what the right
incantations are, and what I've tried is failing still.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Mar 8 16:54:16 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.