<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2003/10/8079542ef4415111bf59cd27c0f9ab57"
  from="Damien &lt;Damien.Pous@e...&gt;"
  author="Damien"
  date="2003-10-26T13:45:55"
  subject="[Caml-list] -pack and cmi"
  prev="2003/10/2a44a1ae2ead144e1470c67e077c490d"
  next="2003/10/aeb1b9ca7d9652152943edeb3fd34dee"
  prev-thread="2003/10/2a44a1ae2ead144e1470c67e077c490d"
  next-thread="2003/10/de29dc29683545ed76beb0400f4751ec"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] -pack and cmi">
<msg 
  url="2003/10/8079542ef4415111bf59cd27c0f9ab57"
  from="Damien &lt;Damien.Pous@e...&gt;"
  author="Damien"
  date="2003-10-26T13:45:55"
  subject="[Caml-list] -pack and cmi">
</msg>
</thread>

<contents>
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

--
&lt;http://www.ens-lyon.fr/~dpous/&gt;

-------------------
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

</contents>

</message>

