Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 106 lines (72 sloc) 3.852 kB
11d8fff Renommage en Objective Caml
xleroy authored
1 Release notes on the MS Windows port of Objective Caml
d06f82e Blabla sur la version Windows
xleroy authored
2 ----------------------------------------------------------
3
4 REQUIREMENTS:
5
6 This port runs under Windows 95 and Windows NT on Intel-based machines.
7 Windows 3.1 and Windows for Workgroups are not supported. Windows NT
8 on non-Intel processors has not been tested.
9
11d8fff Renommage en Objective Caml
xleroy authored
10 The base bytecode system (ocamlc, ocaml, ocamllex, ocamlyacc, ...)
11 runs without any additional tools.
d06f82e Blabla sur la version Windows
xleroy authored
12
11d8fff Renommage en Objective Caml
xleroy authored
13 Linking Caml bytecode with C code (ocamlc -custom) requires the
cc14de0 MAJ en vue release.
xleroy authored
14 Microsoft Visual C++ compiler.
d06f82e Blabla sur la version Windows
xleroy authored
15
11d8fff Renommage en Objective Caml
xleroy authored
16 The native-code compiler (ocamlopt) requires Visual C++ and the
2d8868a Makefile.nt: meilleure install.
xleroy authored
17 Microsoft assembler MASM version 6.
d06f82e Blabla sur la version Windows
xleroy authored
18
f577670 configure, INSTALL: option -with-pthread
xleroy authored
19 The CamlTk GUI requires Tcl 7.6 and Tk 4.2. Windows binaries are
20 available from ftp://ftp.sunlabs.com/pub/tcl/win76p2.exe.
21
d06f82e Blabla sur la version Windows
xleroy authored
22
23 INSTALLATION:
24
cc14de0 MAJ en vue release.
xleroy authored
25 The binary distribution consists in a .zip archive file. This .zip
d06f82e Blabla sur la version Windows
xleroy authored
26 contains long filenames and cannot therefore be unpacked with pkunzip
27 version 2. Use either Winzip (shareware) or the NT/95 version of unzip
28 (freeware):
29 ftp://ftp.winsite.com/pub/pc/winnt/misc/wznt56.exe
30 ftp://ftp.uu.net/pub/archiving/zip/WIN32/unz512xN.exe
31
32 Unzipping the distribution creates (among others) the following
33 directories and files:
34
11d8fff Renommage en Objective Caml
xleroy authored
35 ocaml\ocamlwin.exe The toplevel application
36 ocaml\ocamlwin.ini Its configuration file
37 ocaml\bin\ The command-line compilers and tools
38 ocaml\lib\ The standard library files
d06f82e Blabla sur la version Windows
xleroy authored
39
40 Installing the toplevel application:
41
f577670 configure, INSTALL: option -with-pthread
xleroy authored
42 The file ocaml\ocamlwin.ini assumes that the Caml distribution
43 resides in C:\ocaml. If this is not the case, edit the file
44 ocaml\ocamlwin.ini and change the line that says
d06f82e Blabla sur la version Windows
xleroy authored
45
11d8fff Renommage en Objective Caml
xleroy authored
46 CmdLine=ocamlrun c:\ocaml\bin\ocaml.exe -I c:\ocaml\lib
d06f82e Blabla sur la version Windows
xleroy authored
47 to
11d8fff Renommage en Objective Caml
xleroy authored
48 CmdLine=ocamlrun <caml_dir>\bin\ocaml.exe -I <caml_dir>\lib
d06f82e Blabla sur la version Windows
xleroy authored
49 e.g.
11d8fff Renommage en Objective Caml
xleroy authored
50 CmdLine=ocamlrun d:\lang\ocaml\bin\ocaml.exe -I d:\lang\ocaml\lib
d06f82e Blabla sur la version Windows
xleroy authored
51
52 Installing the command-line tools:
53
11d8fff Renommage en Objective Caml
xleroy authored
54 You must add the ocaml\bin subdirectory to the PATH variable, e.g.
d06f82e Blabla sur la version Windows
xleroy authored
55
11d8fff Renommage en Objective Caml
xleroy authored
56 set PATH=%PATH%;D:\lang\ocaml\bin
d06f82e Blabla sur la version Windows
xleroy authored
57
11d8fff Renommage en Objective Caml
xleroy authored
58 Running directly the tools (e.g. typing D:\lang\ocaml\bin\ocamlc)
59 will not work if the ocaml\bin directory is not in PATH, because ocamlc
d06f82e Blabla sur la version Windows
xleroy authored
60 and the other tools will be unable to find the Caml runtime system
11d8fff Renommage en Objective Caml
xleroy authored
61 ocamlrun.exe.
d06f82e Blabla sur la version Windows
xleroy authored
62
63 The command-line tools assume that the standard library resides in
11d8fff Renommage en Objective Caml
xleroy authored
64 C:\ocaml\lib. If you have unpacked it elsehwere, define the CAMLLIB
d06f82e Blabla sur la version Windows
xleroy authored
65 environment variable to point to the standard library directory, e.g.
66
11d8fff Renommage en Objective Caml
xleroy authored
67 set CAMLLIB=D:\lang\ocaml\lib
d06f82e Blabla sur la version Windows
xleroy authored
68
69
70 RECOMPILATION FROM THE SOURCES:
71
72 The command-line tools can be recompiled from the Unix source
11d8fff Renommage en Objective Caml
xleroy authored
73 distribution (ocaml-X.YZ.tar.gz), which also contains the files modified
d06f82e Blabla sur la version Windows
xleroy authored
74 for Windows.
75
2d8868a Makefile.nt: meilleure install.
xleroy authored
76 In addition to Visual C++ 4.0 and MASM 6, you will also need a healthy
d06f82e Blabla sur la version Windows
xleroy authored
77 set of Unix / GNU utilities that understands long file names
78 (see e.g. ftp://ftp.cc.utexas.edu/microlib/nt/gnu/).
79
370efa2 MAJ pour le debugger et autres
xleroy authored
80 The sources for the toplevel graphical user interface are not currently
81 available to the general public. Contact us if you think you need them.
d06f82e Blabla sur la version Windows
xleroy authored
82
83
84 RANDOM NOTES:
85
86 * The VC++ compiler does a poor job on byterun/interp.c. Consequently,
87 the performance of bytecode programs is about half of that obtained
88 under Unix/GCC on similar hardware. GCC would give much better
89 performance, but none of the currently available ports of GCC for
90170a2 MAJ.
xleroy authored
90 Win32 is sufficiently complete, robust and stable to compile Objective
91 Caml.
92
93 * Libraries available under Win32: "num", "str", "threads", "graph",
f577670 configure, INSTALL: option -with-pthread
xleroy authored
94 "camltk41", and large parts of "unix".
90170a2 MAJ.
xleroy authored
95 "graph" works only under the toplevel application.
d06f82e Blabla sur la version Windows
xleroy authored
96
97
98 CREDITS:
99
11d8fff Renommage en Objective Caml
xleroy authored
100 The initial port of Caml Special Light (the ancestor of Objective Caml)
101 to Windows NT was done by Kevin Gallo at Microsoft Research, who
102 kindly contributed his changes to the Caml project.
d06f82e Blabla sur la version Windows
xleroy authored
103
104 The graphical user interface for the toplevel is due to Jean-Marie
105 Geffroy at INRIA Rocquencourt.
Something went wrong with that request. Please try again.