[Unison-hackers] Problem building unison under cygwin

Jerome Vouillon Jerome.Vouillon at pps.jussieu.fr
Wed Jun 2 12:31:10 EDT 2010


On Wed, Jun 02, 2010 at 10:20:33AM -0400, Andrew Schulman wrote:
> I've also just been trying to build unison 2.40 for Cygwin, with
> UISTYLE=text.  Jerome, your patch gets past the first problem, but the
> build fails later
[...]
> I've tried removing system_win_stubs.c from Makefile.OCaml, by the patch
> below.  But the linking step fails with:
>
> No implementations provided for the following modules:
>   System_win referenced from system/win/system_impl.cmx

That was the right thing to do, but you also need to change
   SYSTEM=win
into
   SYSTEM=generic

The Makefile is currently setup to use MinGW to build a standalone
binary.  I need to fix it so that one can also produce a Cygwin
binary.

-- Jerome


More information about the Unison-hackers mailing list