Raise error when a trait is <<__ConsistentConstruct>> but does not declare an explici...
[hiphop-php.git] / hphp / hack / README.win32
blobe1133852974373cb456337cde9daab8bca7aa443
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.
6 ### Dependency: OCPWin
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
11 Windows SDK.
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
17 problem is fixed.
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:
28     ./make
30 This will call `ocp-build` and copy the generated files into the bin/
31 sub-directory.
33 If you want to clean your project, you may use:
35     ./make clean
37 Optionally, to run the test-suite adjust the path to the `python.exe`
38 in `make.bat`, and run:
40     ./make test
42 ### Installing
44 Coming soon
46 ### FAQ
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.
54    What should I do ?
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.
59    
60