building librsync 1.0.0 under windows with mingw and msys2

118 views
Skip to first unread message

stepha...@gmail.com

unread,
Mar 20, 2015, 5:00:04 AM3/20/15
to libr...@googlegroups.com
Hi,
I could build librsync 1.0.0 under windows (7 64 bits sp1) with MSYS2 (32 bits) and mingw32 4.8.2 (because I compile and build in 32bits under windows 7)

I have installed additional packages to msys2:autoconf, automake,libtool with pacman.(these commands are needed by autogen.sh of librsync)

I generated the configure and then run configure with --build=i686-pc-mingw32 and --prefix=PREFIX and I change the line 15 of Makefile and put make=mingw32-make and the line 452 and 453 of Makefile and put :
rdiff_LDADD = librsync.la popt/libpopt.a
rdiff_DEPENDENCIES = librsync.la popt/libpopt.a ( i have added popt/libpopt.a to these two lines)
(you must add popt in a popt subdirectory,and you can even use the popt of librsync 0.9.7)


I could build librsync under windows.

best regards

stéphane

stepha...@gmail.com

unread,
Mar 20, 2015, 10:35:48 AM3/20/15
to libr...@googlegroups.com, stepha...@gmail.com
I have built librsync and rdiff in 64 bits too with msys2 64 bits and mingw64 4.8.2 posix sjlj.

stephane
Reply all
Reply to author
Forward
0 new messages