Look at ~ruml/ocmrc for config info and at one of the *.system files in one of the code libraries for an example system definition file.
There is a default result called "use". "ocm use" will compile all the files (except the result-specific ones) to bytecode and write a file, use.ml, that is useful for using with the toplevel. In the toplevel, say "#use "/use.ml";;" - this will load all the bytecode files so you can play with your code interactively.
- flags
- -force : Forces a recompilation. Does not clean up binary directories first.
- targets
- use: Builds a file which you can use in ocaml top, allowing you to issue commands to your program through an interactive shell.
Comments (1)
brad.larsen@... said
at 12:49 pm on Jan 3, 2010
Note: the ~/.ocmrc file appears to be necessary for ocm to work at all. Do look at ~ruml/.ocmrc for an example.
You don't have permission to comment on this page.