Re: librsync

Donovan Baarda <[email protected]> Thu, 10 May 2007 15:11:08 +0100
Newsgroups gmane.network.librsync.general
Organization http://minkirri.apana.org.au/~abo/
Message-ID <[email protected]>
[Adding Cc librsync-users]
On Wed, 2007-04-18 at 10:54 +0200, Henrik Zagerholm wrote:
> 17 apr 2007 kl. 14:38 skrev Donovan Baarda:
> 
> > On Mon, 2007-04-16 at 13:29 +0200, Henrik Zagerholm wrote:
> >> Hello Donovan,
[..]
> Looks like I will need to get my hands dirty for the Win32 version. I  
> will give you the project files when I'm done with it so that it will  
> be easier for other people to compile with the new visual studio  
> versions.
> Do you have any tips for compiling on win32? Will it be easier with  
> Cygwin (I saw a configure script somewhere) or can I just go a head  
> on my old XP box?

For me any development is not possible on windows without cygwin, but
that's probably because I'm a Linux person... many Windows developers
don't know what they're missing and seem to do OK without it.

In theory you should be able to compile a working rdiff.exe using Cygwin
by just doing a normal;

  $ ./configure
  $ make all check

However, this will compile using the cygwin gcc and probably produce a
binary that requires the presence of cygwin dll's to work (though I
could be wrong).

The next level of cygwin use is to use it for the configure/make
process, but tell it to use MSVC as the compiler and linker. The file
"configure.msc" is an alternative configure script that did this for the
old MSVC I last used... see README for details

The other alternative is to not use cygwin at all and use a MSVC
project... look in PCbuild for an old version of this.


-- 
Donovan Baarda <[email protected]>
http://minkirri.apana.org.au/~abo/


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/