The native-code compiler currently supports the following processor/operating system combinations:
|Intel Pentiums||Linux (all distributions)
Windows XP, 2000, NT, ME, 98, 95
FreeBSD, NetBSD, OpenBSD
|AMD 64||Linux (all distributions)|
|Alpha||Tru64 Unix / Digital Unix
|Mips||SGI IRIX 6|
|HP PA-RISC||HPUX 11
|PowerPC||Mac OS X
|Intel IA64 (Itanium)||Linux
If your machine has one of those processors but a different operating system, it should be relatively easy to port the native-code compiler. If you get some combination to run, please tell us.
Porting to another processor requires more work. We have currently no plans for other processors. If you feel like giving it a try, contact us for guidance.
The native Win32 port:
This port is built using Microsoft development tools.
Both the bytecode and the native-code compilers are fully supported.
The bytecode compiler is self-contained, but the native-code compiler needs
the Microsoft MASM assembler and Visual C++ compiler. Linking in
-custom with the bytecode compiler also requires the
Visual C++ compiler.
This port features a simple GUI for the toplevel interactive loop (adequate for learning the language, too restrictive for real work). The debugger is not supported in this port.
The Cygwin port: This port is built using the Cygwin Unix-like environment. Cygwin is required to run the compilers and to run the generated executables, but no Microsoft tools are required.
Compared with the native Win32 port, the debugger is supported, but no GUI is provided.
OCaml also fully supports Mac OS X.
-custommode, which contain compiled C code as well.
Bytecode object files (
.cmo files) and compiled
.cmi files) are also portable.
Data written to a file using
output_value can also be
read back on another machine running the same program compiled with
the same version of Objective Caml, regardless of the processor's
endianness and word size.
Objective Caml -
Projet Cristal -
Contact the Caml maintainers
Author: Xavier Leroy -- Last modified: 2005/01/31