Excerpts from Stéphane Glondu's message of Sat Jan 24 19:27:08 +0100 2009:
> 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.

You can avoid linking by adding the "dont_link_with" tag, to your dep
declaration.

Best regards,

-- 
Nicolas Pouillard

_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

Reply via email to