On 03/13/2012 06:34 PM, Matthias Puech wrote: > This is consistent with how ocamlc/ocamlopt work: separate compilation > is ensured the way you think by bytecode .cmo compilation: to build a > module, you only need the *interfaces* of its dependencies, but it is > unfortunately not ensured when compiling to native code, because of the > global (inter-modules) optimizations performed (inlining AFAIK). Thus, > to build a .cmx module, you need to be aware of the actual *code* of its > dependencies.
:-( -- Caml-list mailing list. Subscription management and archives: https://sympa-roc.inria.fr/wws/info/caml-list Beginner's list: http://groups.yahoo.com/group/ocaml_beginners Bug reports: http://caml.inria.fr/bin/caml-bugs