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

Re: building on Win32

From: Branko Čibej <brane_at_xbc.nu>
Date: 2002-06-20 19:24:10 CEST

Martijn Boekhorst wrote:

>(Was intended for list....)
>Onderwerp: Re: building on Win32
>Van: "Martijn Boekhorst" <subversion@boekhorst.net>
>Datum: Don, juni 20, 2002 6:26 pm
>Aan: <gstein@lyra.org>
>>And I would agree with Branko: you shouldn't define the _STATIC
>>symbols. *What* is the problem that you're observing when you don't
>>define them?
>just as an info, I had to define APR_DECLARE_STATIC too for the visor gui
>client, didn't think much of it at the time (you have the same sort of
>mess with declspec(dllimport) and declspec(dllexport) when doing
>headerfiles for DLL's with windows).
We're talking about compiling mod_dav_svn on windows, not linking with
the Subversion libraries. The two cases are quite different. mod_dav_svn
links with the apr and apr-util DLLs that are build with Apache; the
other SVN libaries are linked statically.

>If there's some (elegant) way to use this without the define, I'm also
>keenly interested.
There's not, at least until we link APR dynamically.

>Not sure why the header files would define external linkage points when
>using APR as a library (as opposed to compiling APR itself).
Look at the defiition of the APR_DECLARE in apr/include/apr.hw.

Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jun 20 19:24:40 2002

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