Skip to content
Newer
Older
100644 378 lines (256 sloc) 13.6 KB
cf69c17 MAJ 3.01
xleroy authored Feb 6, 2001
1 Release notes on the MS Windows ports of Objective Caml
2 -------------------------------------------------------
3
05648d1 Documentation portage Win64/MSVC
xleroy authored Oct 18, 2006
4 There are no less than four ports of Objective Caml for MS Windows available:
648aa30 Nettoyages
xleroy authored Jul 22, 2002
5 - a native Win32 port, built with the Microsoft development tools;
37d95e1 Le portage Mingw a besoin de Cygwin (et non Mingw+MSYS) pour compiler
xleroy authored Sep 29, 2003
6 - a native Win32 port, built with the Cygwin/MinGW development tools;
cf69c17 MAJ 3.01
xleroy authored Feb 6, 2001
7 - a port consisting of the Unix sources compiled under the Cygwin
05648d1 Documentation portage Win64/MSVC
xleroy authored Oct 18, 2006
8 Unix-like environment for Windows;
9 - a native Win64 port (64-bit Windows), built with the Microsoft
10 development tools.
cf69c17 MAJ 3.01
xleroy authored Feb 6, 2001
11
1131ee4 MAJ portage MinGW
xleroy authored Jun 7, 2002
12 Here is a summary of the main differences between these ports:
cf69c17 MAJ 3.01
xleroy authored Feb 6, 2001
13
648aa30 Nettoyages
xleroy authored Jul 22, 2002
14 Native MS Native MinGW Cygwin
05648d1 Documentation portage Win64/MSVC
xleroy authored Oct 18, 2006
15
16 64 bits? Win32 or Win64 Win32 only Win32 only
17
1131ee4 MAJ portage MinGW
xleroy authored Jun 7, 2002
18 Third-party software required
648aa30 Nettoyages
xleroy authored Jul 22, 2002
19 - for base bytecode system none none none
37d95e1 Le portage Mingw a besoin de Cygwin (et non Mingw+MSYS) pour compiler
xleroy authored Sep 29, 2003
20 - for ocamlc -custom MSVC Cygwin Cygwin
21 - for native-code generation MSVC+MASM Cygwin Cygwin
cf69c17 MAJ 3.01
xleroy authored Feb 6, 2001
22
648aa30 Nettoyages
xleroy authored Jul 22, 2002
23 Speed of bytecode interpreter 70% 100% 100%
1131ee4 MAJ portage MinGW
xleroy authored Jun 7, 2002
24
a417f48 ocamldebug under Win32 (S. Le Gall, Lexifi)
xleroy authored Jul 29, 2008
25 Replay debugger yes (**) yes (**) yes
1131ee4 MAJ portage MinGW
xleroy authored Jun 7, 2002
26
648aa30 Nettoyages
xleroy authored Jul 22, 2002
27 The Unix library partial partial full
1131ee4 MAJ portage MinGW
xleroy authored Jun 7, 2002
28
37d95e1 Le portage Mingw a besoin de Cygwin (et non Mingw+MSYS) pour compiler
xleroy authored Sep 29, 2003
29 The Threads library yes yes yes
1131ee4 MAJ portage MinGW
xleroy authored Jun 7, 2002
30
648aa30 Nettoyages
xleroy authored Jul 22, 2002
31 The Graphics library yes yes no
1131ee4 MAJ portage MinGW
xleroy authored Jun 7, 2002
32
82c273a MAJ et nettoyages
xleroy authored Jun 20, 2002
33 Restrictions on generated executables? none none yes (*)
1131ee4 MAJ portage MinGW
xleroy authored Jun 7, 2002
34
82c273a MAJ et nettoyages
xleroy authored Jun 20, 2002
35 (*) Cygwin-generated .exe files refer to a DLL that is distributed under
36 the GPL. Thus, these .exe files can only be distributed under a license
37d95e1 Le portage Mingw a besoin de Cygwin (et non Mingw+MSYS) pour compiler
xleroy authored Sep 29, 2003
37 that is compatible with the GPL. Executables generated by MSVC or by
82c273a MAJ et nettoyages
xleroy authored Jun 20, 2002
38 MinGW have no such restrictions.
cf69c17 MAJ 3.01
xleroy authored Feb 6, 2001
39
a417f48 ocamldebug under Win32 (S. Le Gall, Lexifi)
xleroy authored Jul 29, 2008
40 (**) The debugger is supported but the "replay" function of it are not enabled.
41 Other functions are available (step, goto, run...).
42
82c273a MAJ et nettoyages
xleroy authored Jun 20, 2002
43 The remainder of this document gives more information on each port.
cf69c17 MAJ 3.01
xleroy authored Feb 6, 2001
44
45 ------------------------------------------------------------------------------
46
1131ee4 MAJ portage MinGW
xleroy authored Jun 7, 2002
47 The native Win32 port built with Microsoft Visual C
48 ---------------------------------------------------
d06f82e Blabla sur la version Windows
xleroy authored Feb 25, 1996
49
50 REQUIREMENTS:
51
4c1dce3 MAJ instructions installation
xleroy authored Jul 26, 2002
52 This port runs under MS Windows NT, 2000 and XP.
68cfc3f fusion des changements 3.09.2 -> 3.09.3
doligez authored Sep 20, 2006
53 Windows 95, 98 and ME are no longer supported.
d06f82e Blabla sur la version Windows
xleroy authored Feb 25, 1996
54
11d8fff Renommage en Objective Caml
xleroy authored Apr 30, 1996
55 The base bytecode system (ocamlc, ocaml, ocamllex, ocamlyacc, ...)
56 runs without any additional tools.
d06f82e Blabla sur la version Windows
xleroy authored Feb 25, 1996
57
9eaedc5 Chargement dynamique de primitives C
xleroy authored Aug 28, 2001
58 Statically linking Caml bytecode with C code (ocamlc -custom) requires the
68cfc3f fusion des changements 3.09.2 -> 3.09.3
doligez authored Sep 20, 2006
59 Microsoft Visual C++ compiler (items [1] and [2] in the section
8bacf14 Document dependency on flexdll
frisch authored Mar 26, 2008
60 "third-party software" below) and the flexdll tool (item [5]).
d06f82e Blabla sur la version Windows
xleroy authored Feb 25, 1996
61
8bacf14 Document dependency on flexdll
frisch authored Mar 26, 2008
62 The native-code compiler (ocamlopt) requires Visual C++ (items [1], [2]),
63 the Microsoft assembler MASM (item [3]) and the flexdll tool (item [5]).
d06f82e Blabla sur la version Windows
xleroy authored Feb 25, 1996
64
bc6f328 Use TCL/TK 8.4 instead of 8.3
xleroy authored Mar 1, 2007
65 The LablTk GUI requires Tcl/Tk 8.4 (item [4]).
f577670 configure, INSTALL: option -with-pthread
xleroy authored Oct 24, 1997
66
d06f82e Blabla sur la version Windows
xleroy authored Feb 25, 1996
67
68 INSTALLATION:
69
1b438f1 MAJ
xleroy authored Nov 26, 1999
70 The binary distribution is a self-installing executable archive.
71 Just run it and it should install OCaml automatically.
d06f82e Blabla sur la version Windows
xleroy authored Feb 25, 1996
72
3585fec MAJ install Windows
xleroy authored Jul 23, 2002
73 To run programs that use the LablTK GUI, the directory where the
bc6f328 Use TCL/TK 8.4 instead of 8.3
xleroy authored Mar 1, 2007
74 DLLs tk84.dll and tcl84.dll were installed (by the Tcl/Tk
3585fec MAJ install Windows
xleroy authored Jul 23, 2002
75 installer) must be added to the PATH environment variable.
76
77 To compile programs that use the LablTK GUI, the directory where the
bc6f328 Use TCL/TK 8.4 instead of 8.3
xleroy authored Mar 1, 2007
78 libraries tk84.lib and tcl84.lib were installed (by the Tcl/Tk
3585fec MAJ install Windows
xleroy authored Jul 23, 2002
79 installer) must be added to the library search path in the LIB
80 environment variable. E.g. if Tcl/Tk was installed in C:\tcl, add
81 "C:\tcl\lib" to the LIB environment variable.
cf69c17 MAJ 3.01
xleroy authored Feb 6, 2001
82
68cfc3f fusion des changements 3.09.2 -> 3.09.3
doligez authored Sep 20, 2006
83 THIRD-PARTY SOFTWARE:
84
05648d1 Documentation portage Win64/MSVC
xleroy authored Oct 18, 2006
85 [1] Visual C++ version 2005, 2003, or 6.
bc6f328 Use TCL/TK 8.4 instead of 8.3
xleroy authored Mar 1, 2007
86 We use Visual C++ 2005 Express Edition, which can be downloaded for free
05648d1 Documentation portage Win64/MSVC
xleroy authored Oct 18, 2006
87 from http://www.microsoft.com.
68cfc3f fusion des changements 3.09.2 -> 3.09.3
doligez authored Sep 20, 2006
88
89 [2] Windows header files and development libraries. We found them in
90 the Microsoft Windows Server 2003 SP1 Platform SDK, which can
91 be downloaded for free from http://www.microsoft.com/.
92
f42b67a merge changes 3.10.0 -> 3.10.1
doligez authored Jan 11, 2008
93 [3] MASM version 6.11 or later. The full distribution of Visual C++ 2005
94 contains MASM version 8. Users of the Express Edition of Visual C++
95 2005 can download MASM version 8 from
96 http://www.microsoft.com/downloads/details.aspx?FamilyID=7A1C9DA0-0510-44A2-B042-7EF370530C64&displaylang=en
97 To obtain MASM version 6.11, see
68cfc3f fusion des changements 3.09.2 -> 3.09.3
doligez authored Sep 20, 2006
98 http://users.easystreet.com/jkirwan/new/pctools.html.
99
bc6f328 Use TCL/TK 8.4 instead of 8.3
xleroy authored Mar 1, 2007
100 [4] TCL/TK version 8.4. Windows binaries are available as part of the
101 ActiveTCL distribution at http://www.activestate.com/products/ActiveTcl/
68cfc3f fusion des changements 3.09.2 -> 3.09.3
doligez authored Sep 20, 2006
102
8bacf14 Document dependency on flexdll
frisch authored Mar 26, 2008
103 [5] flexdll.
104 Can be downloaded from http://alain.frisch.fr/flexdll.html
105
d06f82e Blabla sur la version Windows
xleroy authored Feb 25, 1996
106 RECOMPILATION FROM THE SOURCES:
107
108 The command-line tools can be recompiled from the Unix source
11d8fff Renommage en Objective Caml
xleroy authored Apr 30, 1996
109 distribution (ocaml-X.YZ.tar.gz), which also contains the files modified
d06f82e Blabla sur la version Windows
xleroy authored Feb 25, 1996
110 for Windows.
111
9eaedc5 Chargement dynamique de primitives C
xleroy authored Aug 28, 2001
112 You will need the following software components to perform the recompilation:
f42b67a merge changes 3.10.0 -> 3.10.1
doligez authored Jan 11, 2008
113 - Windows NT, 2000, XP, or Vista.
8bacf14 Document dependency on flexdll
frisch authored Mar 26, 2008
114 - Items [1], [2], [3], [4] and [5] from the list of recommended software above.
68cfc3f fusion des changements 3.09.2 -> 3.09.3
doligez authored Sep 20, 2006
115 - The Cygwin port of GNU tools, available from http://www.cygwin.com/
5505e95 PR#4547: documentation updated and made more precise
xleroy authored Aug 1, 2008
116 Install at least the following packages: diffutils, make, ncurses.
d06f82e Blabla sur la version Windows
xleroy authored Feb 25, 1996
117
bc6f328 Use TCL/TK 8.4 instead of 8.3
xleroy authored Mar 1, 2007
118 Remember to add the directory where the libraries tk84.lib and
119 tcl84.lib were installed (by the Tcl/Tk installer) to the LIB variable
37d95e1 Le portage Mingw a besoin de Cygwin (et non Mingw+MSYS) pour compiler
xleroy authored Sep 29, 2003
120 (library search path).
121
1131ee4 MAJ portage MinGW
xleroy authored Jun 7, 2002
122 To recompile, start a Cygwin shell and change to the top-level
123 directory of the OCaml distribution. Then, do
124
5ccc0e3 detabisation
doligez authored Jul 23, 2002
125 cp config/m-nt.h config/m.h
126 cp config/s-nt.h config/s.h
127 cp config/Makefile.msvc config/Makefile
f46ea68 MAJ. Description de la recompilation a partir des sources
xleroy authored Oct 19, 1999
128
82c273a MAJ et nettoyages
xleroy authored Jun 20, 2002
129 Then, edit config/Makefile as needed, following the comments in this file.
130 Normally, the only variables that need to be changed are
5ccc0e3 detabisation
doligez authored Jul 23, 2002
131 PREFIX where to install everything
132 TK_ROOT where TCL/TK was installed
d06f82e Blabla sur la version Windows
xleroy authored Feb 25, 1996
133
2a85980 Some changes to the build system
ertai authored Feb 7, 2007
134 Finally, use "make -f Makefile.nt" to build the system, e.g.
1131ee4 MAJ portage MinGW
xleroy authored Jun 7, 2002
135
136 make -f Makefile.nt world
137 make -f Makefile.nt bootstrap
138 make -f Makefile.nt opt
68cfc3f fusion des changements 3.09.2 -> 3.09.3
doligez authored Sep 20, 2006
139 make -f Makefile.nt opt.opt
1131ee4 MAJ portage MinGW
xleroy authored Jun 7, 2002
140 make -f Makefile.nt install
141
5da73b9 Merge some changes from 3.10
ertai authored Nov 29, 2007
142 Alternatively you can use the experimental build procedure using ocamlbuild:
2a85980 Some changes to the build system
ertai authored Feb 7, 2007
143
144 ./build/fastworld.sh
145 ./build/install.sh
1131ee4 MAJ portage MinGW
xleroy authored Jun 7, 2002
146
147 NOTES:
d06f82e Blabla sur la version Windows
xleroy authored Feb 25, 1996
148
82c273a MAJ et nettoyages
xleroy authored Jun 20, 2002
149 * The VC++ compiler does not implement "computed gotos", and therefore
648aa30 Nettoyages
xleroy authored Jul 22, 2002
150 generates inefficient code for byterun/interp.c. Consequently, the
151 performance of bytecode programs is about 2/3 of that obtained under
1131ee4 MAJ portage MinGW
xleroy authored Jun 7, 2002
152 Unix/GCC or Cygwin or Mingw on similar hardware.
90170a2 MAJ.
xleroy authored Oct 25, 1996
153
9eb33db MAJ
xleroy authored Dec 3, 2001
154 * Libraries available in this port: "num", "str", "threads", "graphics",
cf69c17 MAJ 3.01
xleroy authored Feb 6, 2001
155 "labltk", and large parts of "unix".
d06f82e Blabla sur la version Windows
xleroy authored Feb 25, 1996
156
5505e95 PR#4547: documentation updated and made more precise
xleroy authored Aug 1, 2008
157 * The replay debugger is partially supported (no reverse execution).
d06f82e Blabla sur la version Windows
xleroy authored Feb 25, 1996
158
159 CREDITS:
160
11d8fff Renommage en Objective Caml
xleroy authored Apr 30, 1996
161 The initial port of Caml Special Light (the ancestor of Objective Caml)
162 to Windows NT was done by Kevin Gallo at Microsoft Research, who
163 kindly contributed his changes to the Caml project.
d06f82e Blabla sur la version Windows
xleroy authored Feb 25, 1996
164
f1d7182 Merge de OCamlWinPlus (Christopher Watford)
xleroy authored Jun 17, 2004
165 The graphical user interface for the toplevel was initially developed
166 by Jacob Navia, then significantly improved by Christopher A. Watford.
1131ee4 MAJ portage MinGW
xleroy authored Jun 7, 2002
167
168 ------------------------------------------------------------------------------
169
170 The native Win32 port built with Mingw
171 --------------------------------------
172
173 REQUIREMENTS:
174
4c1dce3 MAJ instructions installation
xleroy authored Jul 26, 2002
175 This port runs under MS Windows NT, 2000 and XP.
176 Windows 95, 98 and ME are also supported, but less reliably.
1131ee4 MAJ portage MinGW
xleroy authored Jun 7, 2002
177
178 The base bytecode system (ocamlc, ocaml, ocamllex, ocamlyacc, ...)
179 runs without any additional tools.
180
181 The native-code compiler (ocamlopt), as well as static linking of
37d95e1 Le portage Mingw a besoin de Cygwin (et non Mingw+MSYS) pour compiler
xleroy authored Sep 29, 2003
182 Caml bytecode with C code (ocamlc -custom), require
183 the Cygwin development tools, available at
68cfc3f fusion des changements 3.09.2 -> 3.09.3
doligez authored Sep 20, 2006
184 http://www.cygwin.com/
8bacf14 Document dependency on flexdll
frisch authored Mar 26, 2008
185 and the flexdll tool, available at
186 http://alain.frisch.fr/flexdll.html
68cfc3f fusion des changements 3.09.2 -> 3.09.3
doligez authored Sep 20, 2006
187 You will need to install at least the following Cygwin packages (use
188 the Setup tool from Cygwin):
e39bbe8 Documenter probleme avec Mingw/MSYS
xleroy authored Oct 13, 2005
189 binutils, gcc-core, gcc-mingw-core, mingw-runtime, w32-api.
190
191 Do *not* install the Mingw/MSYS development tools from www.mingw.org:
192 these are not compatible with this Caml port (@responsefile not
193 recognized on the command line).
1131ee4 MAJ portage MinGW
xleroy authored Jun 7, 2002
194
bc6f328 Use TCL/TK 8.4 instead of 8.3
xleroy authored Mar 1, 2007
195 The LablTk GUI requires Tcl/Tk 8.4. Windows binaries are available
196 as part of the ActiveTCL distribution at
197 http://www.activestate.com/products/ActiveTcl/
1131ee4 MAJ portage MinGW
xleroy authored Jun 7, 2002
198
199 INSTALLATION:
200
f791d48 Fusion des modifs faites sur la branche release jusqu'a la release 3.…
xleroy authored Jul 13, 2004
201 The binary distribution is a self-installing executable archive.
202 Just run it and it should install OCaml automatically.
203
204 To run programs that use the LablTK GUI, the directory where the
bc6f328 Use TCL/TK 8.4 instead of 8.3
xleroy authored Mar 1, 2007
205 DLLs tk84.dll and tcl84.dll were installed (by the Tcl/Tk
f791d48 Fusion des modifs faites sur la branche release jusqu'a la release 3.…
xleroy authored Jul 13, 2004
206 installer) must be added to the PATH environment variable.
207
208 To compile programs that use the LablTK GUI, the directory where the
bc6f328 Use TCL/TK 8.4 instead of 8.3
xleroy authored Mar 1, 2007
209 libraries tk84.lib and tcl84.lib were installed (by the Tcl/Tk
f791d48 Fusion des modifs faites sur la branche release jusqu'a la release 3.…
xleroy authored Jul 13, 2004
210 installer) must be added to the library search path in the LIB
211 environment variable. E.g. if Tcl/Tk was installed in C:\tcl, add
212 "C:\tcl\lib" to the LIB environment variable.
1131ee4 MAJ portage MinGW
xleroy authored Jun 7, 2002
213
214
215 RECOMPILATION FROM THE SOURCES:
216
217 You will need the following software components to perform the recompilation:
f42b67a merge changes 3.10.0 -> 3.10.1
doligez authored Jan 11, 2008
218 - Windows NT, 2000, XP, or Vista.
1131ee4 MAJ portage MinGW
xleroy authored Jun 7, 2002
219 - Cygwin: http://sourceware.cygnus.com/cygwin/
5505e95 PR#4547: documentation updated and made more precise
xleroy authored Aug 1, 2008
220 Install at least the following packages: binutils, diffutils,
221 gcc-core, gcc-mingw-core, make, mingw-runtime, ncurses, w32-api.
bc6f328 Use TCL/TK 8.4 instead of 8.3
xleroy authored Mar 1, 2007
222 - TCL/TK version 8.4 (see above).
5505e95 PR#4547: documentation updated and made more precise
xleroy authored Aug 1, 2008
223 - The flexdll tool (see above).
1131ee4 MAJ portage MinGW
xleroy authored Jun 7, 2002
224
786cf74 Clarification MinGW
xleroy authored Feb 14, 2004
225 Do *not* install the standalone distribution of MinGW, nor the
226 companion MSYS tools: these have problems with long command lines.
5505e95 PR#4547: documentation updated and made more precise
xleroy authored Aug 1, 2008
227 Instead, use the version of MinGW provided by Cygwin.
786cf74 Clarification MinGW
xleroy authored Feb 14, 2004
228
1131ee4 MAJ portage MinGW
xleroy authored Jun 7, 2002
229 Start a Cygwin shell and unpack the source distribution
230 (ocaml-X.YZ.tar.gz) with "tar xzf". Change to the top-level
231 directory of the OCaml distribution. Then, do
232
5ccc0e3 detabisation
doligez authored Jul 23, 2002
233 cp config/m-nt.h config/m.h
234 cp config/s-nt.h config/s.h
235 cp config/Makefile.mingw config/Makefile
1131ee4 MAJ portage MinGW
xleroy authored Jun 7, 2002
236
82c273a MAJ et nettoyages
xleroy authored Jun 20, 2002
237 Then, edit config/Makefile as needed, following the comments in this file.
238 Normally, the only variables that need to be changed are
5ccc0e3 detabisation
doligez authored Jul 23, 2002
239 PREFIX where to install everything
240 TK_ROOT where TCL/TK was installed
1131ee4 MAJ portage MinGW
xleroy authored Jun 7, 2002
241
242 Finally, use "make -f Makefile.nt" to build the system, e.g.
243
244 make -f Makefile.nt world
245 make -f Makefile.nt bootstrap
246 make -f Makefile.nt opt
247 make -f Makefile.nt opt.opt
82c273a MAJ et nettoyages
xleroy authored Jun 20, 2002
248 make -f Makefile.nt install
1131ee4 MAJ portage MinGW
xleroy authored Jun 7, 2002
249
250
251 NOTES:
252
253 * Libraries available in this port: "num", "str", "threads", "graphics",
254 "labltk", and large parts of "unix".
255
5505e95 PR#4547: documentation updated and made more precise
xleroy authored Aug 1, 2008
256 * The replay debugger is partially supported (no reverse execution).
82c273a MAJ et nettoyages
xleroy authored Jun 20, 2002
257
258 ------------------------------------------------------------------------------
259
260 The Cygwin port of Objective Caml
261 ---------------------------------
262
263 REQUIREMENTS:
264
265 This port requires the Cygwin environment from Cygnus/RedHat, which
266 is freely available at:
68cfc3f fusion des changements 3.09.2 -> 3.09.3
doligez authored Sep 20, 2006
267 http://www.cygwin.com/
82c273a MAJ et nettoyages
xleroy authored Jun 20, 2002
268
8bacf14 Document dependency on flexdll
frisch authored Mar 26, 2008
269 It also requires the flexdll tool, available at:
270 http://alain.frisch.fr/flexdll.html
271
4c1dce3 MAJ instructions installation
xleroy authored Jul 26, 2002
272 This port runs under all versions of MS Windows supported by Cygwin.
82c273a MAJ et nettoyages
xleroy authored Jun 20, 2002
273
274
275 INSTALLATION:
276
68cfc3f fusion des changements 3.09.2 -> 3.09.3
doligez authored Sep 20, 2006
277 We do not distribute binaries for this port, but they can be found
278 in the Cygwin distribution (use the Setup tool from Cygwin and select
279 the OCaml packages). Alternatively, recompile from the source distribution.
82c273a MAJ et nettoyages
xleroy authored Jun 20, 2002
280
281
282 RECOMPILATION FROM THE SOURCES:
283
284 Just follow the instructions for Unix machines given in the file INSTALL.
285
286
287 NOTES:
288
37d95e1 Le portage Mingw a besoin de Cygwin (et non Mingw+MSYS) pour compiler
xleroy authored Sep 29, 2003
289 The libraries available in this port are "num", "str", "threads",
f791d48 Fusion des modifs faites sur la branche release jusqu'a la release 3.…
xleroy authored Jul 13, 2004
290 "unix" and "labltk". "graph" is not available.
82c273a MAJ et nettoyages
xleroy authored Jun 20, 2002
291 The replay debugger is supported.
292
05648d1 Documentation portage Win64/MSVC
xleroy authored Oct 18, 2006
293 ------------------------------------------------------------------------------
294
295 The native Win64 port built with the Microsoft Platform SDK compilers
296 ---------------------------------------------------------------------
297
298 REQUIREMENTS:
299
300 This port runs under MS Windows XP 64 and Server 64 on Intel64/AMD64 machines.
301
302 The base bytecode system (ocamlc, ocaml, ocamllex, ocamlyacc, ...)
303 runs without any additional tools.
304
305 Statically linking Caml bytecode with C code (ocamlc -custom) requires the
306 Microsoft Platform SDK compiler (item [1] in the section
8bacf14 Document dependency on flexdll
frisch authored Mar 26, 2008
307 "third-party software" below) and the flexdll tool (item [2]).
05648d1 Documentation portage Win64/MSVC
xleroy authored Oct 18, 2006
308
309 The native-code compiler (ocamlopt) requires the Microsoft compiler
8bacf14 Document dependency on flexdll
frisch authored Mar 26, 2008
310 and the Microsoft assembler MASM64 (item [1]) and the flexdll tool (item [2]).
05648d1 Documentation portage Win64/MSVC
xleroy authored Oct 18, 2006
311
312
313 INSTALLATION:
314
315 There is no binary distribution yet. Please compile from sources as
316 described below.
317
318
319 THIRD-PARTY SOFTWARE:
320
321 [1] Microsoft Windows Server 2003 R2 Platform SDK for AMD64 (PSDK-amd64.exe).
322 Can be downloaded for free from http://www.microsoft.com/.
323 Includes all we need, namely a C compiler, the masm64 assembler,
324 Windows libraries and include files.
325
8bacf14 Document dependency on flexdll
frisch authored Mar 26, 2008
326 [2] flexdll.
327 Can be downloaded from http://alain.frisch.fr/flexdll.html
328
329
05648d1 Documentation portage Win64/MSVC
xleroy authored Oct 18, 2006
330
331 RECOMPILATION FROM THE SOURCES:
332
333 The command-line tools can be recompiled from the Unix source
334 distribution (ocaml-X.YZ.tar.gz), which also contains the files modified
335 for Windows.
336
337 You will need the following software components to perform the recompilation:
338 - Windows XP 64 or Server 64.
339 - The Platform SDK (item [1] from the list of recommended software above).
340 - The Cygwin port of GNU tools, available from http://www.cygwin.com/
5505e95 PR#4547: documentation updated and made more precise
xleroy authored Aug 1, 2008
341 Install at least the following packages: diffutils, make, ncurses.
8bacf14 Document dependency on flexdll
frisch authored Mar 26, 2008
342 - The flexdll tool (see above).
05648d1 Documentation portage Win64/MSVC
xleroy authored Oct 18, 2006
343
344 To recompile, start a Cygwin shell and change to the top-level
345 directory of the OCaml distribution. Then, do
346
347 cp config/m-nt.h config/m.h
348 cp config/s-nt.h config/s.h
349 cp config/Makefile.msvc64 config/Makefile
350
351 Then, edit config/Makefile as needed, following the comments in this file.
352 Normally, the only variable that need to be changed is
353 PREFIX where to install everything
354
355 If, for whatever reason, you want to use the Microsoft Visual C++ 2005
356 compiler for AMD64 instead of the Platform SDK compiler, replace the line
357 EXTRALIBS=bufferoverflowu.lib
358 by
359 EXTRALIBS=
360
361 Finally, use "make -f Makefile.nt" to build the system, e.g.
362
363 make -f Makefile.nt world
364 make -f Makefile.nt bootstrap
365 make -f Makefile.nt opt
366 make -f Makefile.nt opt.opt
367 make -f Makefile.nt install
368
369
370 NOTES:
371
372 * Libraries available in this port: "num", "str", "threads", "graphics",
373 and large parts of "unix".
374
5505e95 PR#4547: documentation updated and made more precise
xleroy authored Aug 1, 2008
375 * The replay debugger is partially supported (no reverse execution).
05648d1 Documentation portage Win64/MSVC
xleroy authored Oct 18, 2006
376
5505e95 PR#4547: documentation updated and made more precise
xleroy authored Aug 1, 2008
377 * The graphical browser ocamlbrowser is not supported.
Something went wrong with that request. Please try again.