Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 106 lines (73 sloc) 3.84 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
19
20 INSTALLATION:
21
cc14de0 MAJ en vue release.
xleroy authored
22 The binary distribution consists in a .zip archive file. This .zip
d06f82e Blabla sur la version Windows
xleroy authored
23 contains long filenames and cannot therefore be unpacked with pkunzip
24 version 2. Use either Winzip (shareware) or the NT/95 version of unzip
25 (freeware):
26 ftp://ftp.winsite.com/pub/pc/winnt/misc/wznt56.exe
27 ftp://ftp.uu.net/pub/archiving/zip/WIN32/unz512xN.exe
28
29 Unzipping the distribution creates (among others) the following
30 directories and files:
31
11d8fff Renommage en Objective Caml
xleroy authored
32 ocaml\ocamlwin.exe The toplevel application
33 ocaml\ocamlwin.ini Its configuration file
34 ocaml\bin\ The command-line compilers and tools
35 ocaml\lib\ The standard library files
d06f82e Blabla sur la version Windows
xleroy authored
36
37 Installing the toplevel application:
38
11d8fff Renommage en Objective Caml
xleroy authored
39 Copy the file ocaml\ocamlwin.ini to the Windows system directory
0f0c182 Makefile.nt: rectif. de l'installation
xleroy authored
40 (e.g. C:\windows). This file assumes that the Caml distribution
11d8fff Renommage en Objective Caml
xleroy authored
41 resides in C:\ocaml. If this is not the case, edit the file ocamlwin.ini
d06f82e Blabla sur la version Windows
xleroy authored
42 and change the line that says
43
11d8fff Renommage en Objective Caml
xleroy authored
44 CmdLine=ocamlrun c:\ocaml\bin\ocaml.exe -I c:\ocaml\lib
d06f82e Blabla sur la version Windows
xleroy authored
45 to
11d8fff Renommage en Objective Caml
xleroy authored
46 CmdLine=ocamlrun <caml_dir>\bin\ocaml.exe -I <caml_dir>\lib
d06f82e Blabla sur la version Windows
xleroy authored
47 e.g.
11d8fff Renommage en Objective Caml
xleroy authored
48 CmdLine=ocamlrun d:\lang\ocaml\bin\ocaml.exe -I d:\lang\ocaml\lib
d06f82e Blabla sur la version Windows
xleroy authored
49
50 Installing the command-line tools:
51
11d8fff Renommage en Objective Caml
xleroy authored
52 You must add the ocaml\bin subdirectory to the PATH variable, e.g.
d06f82e Blabla sur la version Windows
xleroy authored
53
11d8fff Renommage en Objective Caml
xleroy authored
54 set PATH=%PATH%;D:\lang\ocaml\bin
d06f82e Blabla sur la version Windows
xleroy authored
55
11d8fff Renommage en Objective Caml
xleroy authored
56 Running directly the tools (e.g. typing D:\lang\ocaml\bin\ocamlc)
57 will not work if the ocaml\bin directory is not in PATH, because ocamlc
d06f82e Blabla sur la version Windows
xleroy authored
58 and the other tools will be unable to find the Caml runtime system
11d8fff Renommage en Objective Caml
xleroy authored
59 ocamlrun.exe.
d06f82e Blabla sur la version Windows
xleroy authored
60
61 The command-line tools assume that the standard library resides in
11d8fff Renommage en Objective Caml
xleroy authored
62 C:\ocaml\lib. If you have unpacked it elsehwere, define the CAMLLIB
d06f82e Blabla sur la version Windows
xleroy authored
63 environment variable to point to the standard library directory, e.g.
64
11d8fff Renommage en Objective Caml
xleroy authored
65 set CAMLLIB=D:\lang\ocaml\lib
d06f82e Blabla sur la version Windows
xleroy authored
66
67
68 RECOMPILATION FROM THE SOURCES:
69
70 The command-line tools can be recompiled from the Unix source
11d8fff Renommage en Objective Caml
xleroy authored
71 distribution (ocaml-X.YZ.tar.gz), which also contains the files modified
d06f82e Blabla sur la version Windows
xleroy authored
72 for Windows.
73
2d8868a Makefile.nt: meilleure install.
xleroy authored
74 In addition to Visual C++ 4.0 and MASM 6, you will also need a healthy
d06f82e Blabla sur la version Windows
xleroy authored
75 set of Unix / GNU utilities that understands long file names
76 (see e.g. ftp://ftp.cc.utexas.edu/microlib/nt/gnu/).
77
90170a2 MAJ.
xleroy authored
78 The sources for the toplevel graphical user interface are currently
79 not available to the general public. Contact us if you think you need
80 them.
d06f82e Blabla sur la version Windows
xleroy authored
81
82
83 RANDOM NOTES:
84
85 * The VC++ compiler does a poor job on byterun/interp.c. Consequently,
86 the performance of bytecode programs is about half of that obtained
87 under Unix/GCC on similar hardware. GCC would give much better
88 performance, but none of the currently available ports of GCC for
90170a2 MAJ.
xleroy authored
89 Win32 is sufficiently complete, robust and stable to compile Objective
90 Caml.
91
92 * Libraries available under Win32: "num", "str", "threads", "graph",
93 and large parts of "unix".
94 "graph" works only under the toplevel application.
95 "camltk4" still requires considerable work to run under Win32.
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.