Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
"Virtual" dependencies in ocamlbuild
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2009-01-24 (18:27)
From: Stéphane Glondu <steph@g...>
Subject: "Virtual" dependencies in ocamlbuild
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.