From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id CAA25833; Thu, 9 Oct 2003 02:06:32 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id CAA01577 for ; Thu, 9 Oct 2003 02:06:31 +0200 (MET DST) Received: from kurims.kurims.kyoto-u.ac.jp (kurims.kurims.kyoto-u.ac.jp [130.54.16.1]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h9905x106452 for ; Thu, 9 Oct 2003 02:06:01 +0200 (MET DST) Received: from localhost (suiren.kurims.kyoto-u.ac.jp [130.54.16.25]) by kurims.kurims.kyoto-u.ac.jp (8.9.3p2-20030924/3.7W) with ESMTP id JAA13102; Thu, 9 Oct 2003 09:05:51 +0900 (JST) To: rich@annexia.org Cc: caml-list@inria.fr Subject: Re: [Caml-list] ocamldep 3.07 now saves system dependencies? In-Reply-To: <20031008134130.GA16795@redhat.com> References: <20031008134130.GA16795@redhat.com> X-Mailer: Mew version 1.94.2 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20031009090557F.garrigue@kurims.kyoto-u.ac.jp> Date: Thu, 09 Oct 2003 09:05:57 +0900 From: Jacques Garrigue X-Dispatcher: imput version 20000228(IM140) X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 ocamldep:01 3.07:01 dependencies:01 jacques:01 ocamldep:01 3.06:01 dependencies:01 cmx:01 cmx:01 usr:01 3.07:01 lablgtk:01 gbin:01 usr:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk From: Richard Jones > 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