caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] ocamldep 3.07 now saves system dependencies?
@ 2003-10-08 13:41 Richard Jones
  2003-10-09  0:05 ` Jacques Garrigue
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Jones @ 2003-10-08 13:41 UTC (permalink / raw)
  To: caml-list

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 \
    /usr/lib/ocaml/3.07/lablgtk2/gMain.cmx \
    /usr/lib/ocaml/3.07/lablgtk2/gMenu.cmx \
    /usr/lib/ocaml/3.07/lablgtk2/gMisc.cmx \
    /usr/lib/ocaml/3.07/lablgtk2/gPack.cmx \
    /usr/lib/ocaml/3.07/lablgtk2/gText.cmx \
    /usr/lib/ocaml/3.07/lablgtk2/gToolbox.cmx \
    /usr/lib/ocaml/3.07/lablgtk2/gWindow.cmx \
    /usr/lib/ocaml/3.07/lablgtk2/gdkKeysyms.cmx globals.cmx \
    selection_dialog.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.

Has this behaviour changed?

Rich.

-- 
Richard Jones. http://www.annexia.org/ http://freshmeat.net/users/rwmj
Merjis Ltd. http://www.merjis.com/ - all your business data are belong to you.
"One serious obstacle to the adoption of good programming languages is
the notion that everything has to be sacrificed for speed. In computer
languages as in life, speed kills." -- Mike Vanier

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


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

* Re: [Caml-list] ocamldep 3.07 now saves system dependencies?
  2003-10-08 13:41 [Caml-list] ocamldep 3.07 now saves system dependencies? Richard Jones
@ 2003-10-09  0:05 ` Jacques Garrigue
  2003-10-10  8:45   ` skaller
  0 siblings, 1 reply; 4+ messages in thread
From: Jacques Garrigue @ 2003-10-09  0:05 UTC (permalink / raw)
  To: rich; +Cc: caml-list

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


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

* Re: [Caml-list] ocamldep 3.07 now saves system dependencies?
  2003-10-09  0:05 ` Jacques Garrigue
@ 2003-10-10  8:45   ` skaller
  2003-10-10  8:55     ` Richard Jones
  0 siblings, 1 reply; 4+ messages in thread
From: skaller @ 2003-10-10  8:45 UTC (permalink / raw)
  To: Jacques Garrigue; +Cc: rich, caml-list

On Thu, 2003-10-09 at 10:05, Jacques Garrigue wrote:
> From: Richard Jones <rich@annexia.org>
> 

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

What does +xxxxxx do? Did I miss a description
in the documentation (or is this a bug in the doc?)


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


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

* Re: [Caml-list] ocamldep 3.07 now saves system dependencies?
  2003-10-10  8:45   ` skaller
@ 2003-10-10  8:55     ` Richard Jones
  0 siblings, 0 replies; 4+ messages in thread
From: Richard Jones @ 2003-10-10  8:55 UTC (permalink / raw)
  To: skaller; +Cc: caml-list

On Fri, Oct 10, 2003 at 06:45:04PM +1000, skaller wrote:
> On Thu, 2003-10-09 at 10:05, Jacques Garrigue wrote:
> > From: Richard Jones <rich@annexia.org>
> > 
> 
> > > 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
> 
> What does +xxxxxx do? Did I miss a description
> in the documentation (or is this a bug in the doc?)

The '+' seems to prefix the standard OCaml LIBDIR path on the front
of the name.

Rich.

-- 
Richard Jones. http://www.annexia.org/ http://freshmeat.net/users/rwmj
Merjis Ltd. http://www.merjis.com/ - all your business data are belong to you.
MONOLITH is an advanced framework for writing web applications in C, easier
than using Perl & Java, much faster and smaller, reusable widget-based arch,
database-backed, discussion, chat, calendaring:
http://www.annexia.org/freeware/monolith/

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


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

end of thread, other threads:[~2003-10-10  8:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-08 13:41 [Caml-list] ocamldep 3.07 now saves system dependencies? Richard Jones
2003-10-09  0:05 ` Jacques Garrigue
2003-10-10  8:45   ` skaller
2003-10-10  8:55     ` Richard Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).