Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* ocamlbuild `Circular dependencies'
@ 2008-01-24 14:23 Christian Sternagel
  2008-01-28 10:23 ` [Caml-list] " Romain Bardou
  0 siblings, 1 reply; 5+ messages in thread
From: Christian Sternagel @ 2008-01-24 14:23 UTC (permalink / raw)
  To: caml-list

I use the following setting for a project:

Within the root directory of the project there are
two subdirectories A and B containing *.ml, *.mli, and *.mly
files.

additionally there is the file A.mllib in A containing all
modules that are in A and B.mllib containing all
modules that are in B.

ocamlbuild -I A A.cma

works fine.

Now B should also result in a lib where some modules in B
depend on modules in A. When trying

ocamlbuild -lib A -Is A,B B.cma

the compilation terminates unsuccessful indicating
some Circular dependencies. However, the Makefile we
used before works fine and there really are no circular
dependencies.

Am I doing something completely wrong here?
Isn't it possible to compile libraries depending on other
libraries?

cheers

christian


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-01-28 14:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-24 14:23 ocamlbuild `Circular dependencies' Christian Sternagel
2008-01-28 10:23 ` [Caml-list] " Romain Bardou
2008-01-28 10:43   ` Christian Sternagel
2008-01-28 11:08     ` Romain Bardou
2008-01-28 14:24     ` Nicolas Pouillard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox