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

using Subversion with MinGW projects

From: Matthias Miller <Blog_at_OutOfHanwell.com>
Date: 2006-08-29 21:13:23 CEST

I've been trying to link Subversion into a MinGW project with no
success. So far, I've found two possible approaches.

First, after much research, I found I could use dlltool/reimp to remap
function names from MSVC to MinGW's name decoration. I've managed to
successfully link in some of the basic Subversion functions, such as
svn_client_version. However, it broke as soon as I started pulling in
more files. It looks like the problem is that the intl and neon
libraries don't specify a calling convention, so the names are exported
with the _imp_ prefix. I believe this technique would work if these
libraries would use the stdcall calling convention.

Second, I could link against a MinGW build of Subversion. However, a
quick search of the archives shows that this isn't a trivial matter.

Are there any plans for MinGW development packages? Any suggestions on
where to go from here? Is this a question for the dev mailing list?

Thanks.

-Matthias Miller

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 29 21:42:02 2006

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

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