[darcs-users] Building 0.9.18 for win32

will at glozer.net will at glozer.net
Fri Apr 9 05:02:47 UTC 2004


Hello folks,

Thanks to David's win32 cleanup I managed to compile darcs 0.9.18 for
win32 today.  I had to jump through a few hoops with my system
configuration and build options, so here are the details.  I also
placed the freshly built binaries @ http://glozer.net/darcs/

Regards,
Will

-- Build process --

install msys, mingw, ghc

download zlib, libcurl, openssl, libpthread for win32
  copy header files/dirs to <ghc-dir>\gcc-lib\include
  copy libraries to <ghc-dir>\gcc-lib

set PATH=<msys-bin>;<mingw-bin>
sh
export GHC=/c/<ghc-bin>/ghc.exe

./configure

autoconf.mk:
 set HAVE_LIBCURL := True
 set CURLFLAGS := -lcurldll

Autoconf.lhs:
 set have_libcurl = True

GNUmakefile:
  remove the ifeq ($(SYS), windows), corresponding endif,
    and the whole else section
  remove references to 'nice' for testing

make




More information about the darcs-users mailing list