Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] -pack and cmi
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Damien <Damien.Pous@e...>
Subject: [Caml-list] -pack and cmi
Hi,

Could "ocamlc -pack" accept to pack .cmi files ?

This would be useful for packing "type definitions only"-modules, for
which no .cmo is created :

types.mli
a.ml/a.mli
b.ml/b.mli

compiles to 

types.cmi
a.cmo/a.cmi
b.cmo/b.cmi

and then one cannot pack A, B with Types


Currently I am doing "ln types.mli types.ml" in order to compile the
.cmo file, but this is not really nice/vfat-compatible :(

Damien

--
<http://www.ens-lyon.fr/~dpous/>

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners