<?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="2009/01/e4ce08ecd81ae9691e93546fd3ba0ea4"
  from="Stéphane Glondu &lt;steph@g...&gt;"
  author="Stéphane Glondu"
  date="2009-01-24T18:27:11"
  subject="&quot;Virtual&quot; dependencies in ocamlbuild"
  prev="2009/01/eeab0b3f120e211f21893e022df9ede5"
  next="2009/01/42358c7ead68a730b059b075f88153fa"
  next-in-thread="2009/01/42358c7ead68a730b059b075f88153fa"
  prev-thread="2009/01/1974c79b3676671235603bec2b9622c6"
  next-thread="2009/01/b8fcc35a4846db219ef26e2404e8ef40"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="&quot;Virtual&quot; dependencies in ocamlbuild">
<msg 
  url="2009/01/e4ce08ecd81ae9691e93546fd3ba0ea4"
  from="Stéphane Glondu &lt;steph@g...&gt;"
  author="Stéphane Glondu"
  date="2009-01-24T18:27:11"
  subject="&quot;Virtual&quot; dependencies in ocamlbuild">
<msg 
  url="2009/01/42358c7ead68a730b059b075f88153fa"
  from="Nicolas Pouillard &lt;nicolas.pouillard@g...&gt;"
  author="Nicolas Pouillard"
  date="2009-01-24T19:09:05"
  subject="Re: [Caml-list] &quot;Virtual&quot; dependencies in ocamlbuild">
</msg>
</msg>
</thread>

<contents>
Hi all,

Is there any way to add a dependency to a .cma file without adding it to
the linking command?

It seems that "dep" from the API also adds the dependency for linking:
for example, if that dependency is a stamp file, that stamp file is
stupidly added to "ocamlc -a" command, making it fail.


Cheers,

-- 
Stéphane

</contents>

</message>

