1
This document is dedicated to people who want to compile MTASC from sources.
6
- install OCaml (at http://caml.inria.fr ). 3.08 is recommanded
7
- install CVS (http://www.cvshome.org)
8
- download and compile ZLIB (http://www.zlib.org)
9
- put the "install.ml" MTASC install script into a directory of your choice
10
- configure ocaml and cvs so it can run from commandline
11
- edit and *configure* install.ml (see below)
12
- run the following command "ocaml install.ml" to run compilation script
13
- the binary can be found in the "bin" subdirectory of install.ml
14
- you also need to copy somewhere on your system the "ocaml/mtasc/std"
15
subdirectory (and use -cp <path to std> for mtasc commandline).
20
install.ml is an install script that will download and compile sources.
21
It needs some minimal configuration in order to work correctly.
23
First you need to choose which of the two build you want to compile :
24
- native : native is compiled for your processor, it will run a lot faster
25
- bytecode : ocaml bytecode program, however it is not platform independant
26
since it links some C code for ZLib bindings
28
Then you need to configure the path where zlib.lib or zlib.a can be found.
29
For example on Linux you will have to replace it by something like :
30
let zlib = "/usr/lib/libz.a"
34
In case of problem please join the MTASC mailing list here :
35
http://lists.motion-twin.com/mailman/listinfo/mtasc