1 We are currently porting Hack and Flow to Windows 64 bits. This
2 document describes the build system, if you want to test
3 the prototype. Be aware that this work will take some time
4 and most tests are currently known to fail.
8 OCPWin is a binary OCaml distribution for Windows. It is
9 self-contained and runs natively on Windows, which means you can
10 generate OCaml applications with it without installing Cygwin or
13 To download and install OCPWin, go to http://www.typerex.org/ocpwin.html,
14 and choose the "full" version. OCPWin installer is known to have problems
15 with PATHs exceeding 1024 characters. Be careful to save your PATH before
16 the installation to be able to restore it in case of problem, until the
19 ### Configuration and Compilation
21 In the Hack root directory, edit the file `00_config.ocp`
22 and adjust the two following variables:
24 debug = false (* true if you want to activate the debug mode *)
26 Then, execute the `make.bat` script:
30 This will call `ocp-build` and copy the generated files into the bin/
33 If you want to clean your project, you may use:
37 Optionally, to run the test-suite adjust the path to the `python.exe`
38 in `make.bat`, and run:
48 Q: While installing OCPWin, I got this message error:
50 This version of C:\xxxx is not compatible with the version of
51 Windows that you're running. Check your computer's system information
52 and then contact the software publisher.
56 A: You probably installed the wrong version of OCPWin, check that you
57 got the 32 or 64 bits version according to your system. Note that Hack
58 and Flow currently only work on 64 bits systems.