You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Matthias Miller <Bl...@OutOfHanwell.com> on 2006/08/29 19:13:23 UTC
using Subversion with MinGW projects
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
Re: using Subversion with MinGW projects
Posted by Matthias Miller <Bl...@OutOfHanwell.com>.
Justin Erenkrantz wrote:
> On 8/29/06, Matthias Miller <Bl...@outofhanwell.com> wrote:
>> 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.
>
> There's been a bunch of work on APR a few months to make it support
> MinGW out of the box. With the current trunk of APR, I've been able
> to get a MinGW build of Subversion with just a couple of patches -
> you'd have to look at the dev@ archives for those. If there's enough
> interest, I could be persuaded to commit them into Subversion's trunk
> too.
>
> HTH. -- justin
>
Supporting MinGW would allow a number of Qt/GPL applications to use
Subversion libraries on Windows. This could be very helpful for
cross-platform Subversion clients.
I've been working on getting a build environment set up for Subversion
and have been running into a number of problems with some of its
dependencies. The barrier to entry on projects using Subversion is a lot
higher if developers need to compiler their own MinGW versions of the
libraries. Is there any chance a development release package could be
created with these libraries?
-Matthias Miller
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: using Subversion with MinGW projects
Posted by Justin Erenkrantz <ju...@erenkrantz.com>.
On 8/29/06, Matthias Miller <Bl...@outofhanwell.com> wrote:
> 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.
There's been a bunch of work on APR a few months to make it support
MinGW out of the box. With the current trunk of APR, I've been able
to get a MinGW build of Subversion with just a couple of patches -
you'd have to look at the dev@ archives for those. If there's enough
interest, I could be persuaded to commit them into Subversion's trunk
too.
HTH. -- justin
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org