Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Le portage Mingw a besoin de Cygwin (et non Mingw+MSYS) pour compiler

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5848 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
  • Loading branch information...
commit 37d95e1a2db0548120515cbdd5d1dbf0d84ad9f2 1 parent ab6da01
xleroy authored
Showing with 13 additions and 11 deletions.
  1. +13 −11 README.win32
View
24 README.win32
@@ -4,7 +4,7 @@
Starting with OCaml 3.05, there are no less than three ports of
Objective Caml for MS Windows available:
- a native Win32 port, built with the Microsoft development tools;
- - a native Win32 port, built with the MinGW development tools;
+ - a native Win32 port, built with the Cygwin/MinGW development tools;
- a port consisting of the Unix sources compiled under the Cygwin
Unix-like environment for Windows.
@@ -13,8 +13,8 @@ Here is a summary of the main differences between these ports:
Native MS Native MinGW Cygwin
Third-party software required
- for base bytecode system none none none
- - for ocamlc -custom MSVC MinGW or Cygwin Cygwin
- - for native-code generation MSVC+MASM MinGW or Cygwin Cygwin
+ - for ocamlc -custom MSVC Cygwin Cygwin
+ - for native-code generation MSVC+MASM Cygwin Cygwin
Speed of bytecode interpreter 70% 100% 100%
@@ -22,7 +22,7 @@ Replay debugger no no yes
The Unix library partial partial full
-The Threads library yes yes no
+The Threads library yes yes yes
The Graphics library yes yes no
@@ -30,7 +30,7 @@ Restrictions on generated executables? none none yes (*)
(*) Cygwin-generated .exe files refer to a DLL that is distributed under
the GPL. Thus, these .exe files can only be distributed under a license
-that is compatible with the GPL. Executables generated by MS VC or by
+that is compatible with the GPL. Executables generated by MSVC or by
MinGW have no such restrictions.
The remainder of this document gives more information on each port.
@@ -107,6 +107,10 @@ You will need the following software components to perform the recompilation:
http://sourceware.cygnus.com/cygwin/
- TCL/TK version 8.3 (for the LablTK GUI) (see above).
+Remember to add the directory where the libraries tk83.lib and
+tcl83.lib were installed (by the Tcl/Tk installer) to the LIB variable
+(library search path).
+
To recompile, start a Cygwin shell and change to the top-level
directory of the OCaml distribution. Then, do
@@ -161,10 +165,8 @@ The base bytecode system (ocamlc, ocaml, ocamllex, ocamlyacc, ...)
runs without any additional tools.
The native-code compiler (ocamlopt), as well as static linking of
-Caml bytecode with C code (ocamlc -custom), require either the MinGW
-development tools, which is free software available at
- http://www.mingw.org/
-or the Cygwin development tools (also free software), available at
+Caml bytecode with C code (ocamlc -custom), require
+the Cygwin development tools, available at
http://sources.redhat.com/cygwin/
The LablTk GUI requires Tcl/Tk 8.3. Windows binaries are
@@ -240,7 +242,7 @@ Just follow the instructions for Unix machines given in the file INSTALL.
NOTES:
-The libraries available in this port are "num", "str", "unix" and "labltk".
-"graph" and "threads" are not available yet.
+The libraries available in this port are "num", "str", "threads",
+"unix" and "labltk". "graph" is not available yet.
The replay debugger is supported.
Please sign in to comment.
Something went wrong with that request. Please try again.