Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] ocamldep 3.07 now saves system dependencies?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jacques Garrigue <garrigue@k...>
Subject: Re: [Caml-list] ocamldep 3.07 now saves system dependencies?
From: Richard Jones <rich@annexia.org>

> I've noticed an apparent difference between ocamldep 3.06 and
> 3.07. The newer version now generates dependencies for certain (but
> not all) system libraries.
> 
> For example dependencies like this:
> 
> main.cmx: browser.cmx database.cmx /usr/lib/ocaml/3.07/lablgtk2/gBin.cmx \
>     /usr/lib/ocaml/3.07/lablgtk2/gButton.cmx \
[...]
> 
> when I run this:
> 
> ocamldep -I +lablgtk2 -I ../lablgtk2-mozembed -I +apache -I +postgres -I +pcre browser.ml database.ml globals.ml lib.ml loadpage.ml main.ml selection_dialog.ml > .depend
> 
> This is unfortunate because my Makefile then goes off and tries to
> build system libraries, and fails.

They should go away if you omit all the -I's.
Actually this looks like an improvement to me: if you want to express
dependencies on other directories, you are now able to do so.

Jacques Garrigue

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