[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Xavier Leroy <Xavier.Leroy@i...> |
| Subject: | Re: [Caml-list] Dynamic loading of bytecode |
> How can you load the whole module hiearchy (many modules, dependent on
> one another) with a single command in toploop?
You cannot. However, you could build a .cma archive via a Makefile:
ocamlc -a -o mylib.cma a.cmo b.cmo
and issue the toplevel command #load "mylib.cma", which will load both
module implementations at once.
- Xavier Leroy