[
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: | Stéphane Glondu <steph@g...> |
| Subject: | Re: [Caml-list] Controlling module loading order. |
Guillaume Yziquel a écrit : > My question is: do I have to put a line like "module X = OCamlR" in > quantmod.ml, [...] Sounds good. But in case the compiler is too smart and discards this, I'd rather export explicitly an initialization function (or some dummy value to force the dependency order) in OCamlR and call it when needed. > [...] is there a way to load OCamlR beforehand just by > tweaking the build process, order of modules when linking, etc... I wouldn't rely on this. Cheers, -- Stéphane