Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: 2003-10-08 (13:41)
From: Richard Jones <rich@a...>
Subject: [Caml-list] ocamldep 3.07 now saves system dependencies?
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 \

when I run this:

ocamldep -I +lablgtk2 -I ../lablgtk2-mozembed -I +apache -I +postgres -I +pcre > .depend

This is unfortunate because my Makefile then goes off and tries to
build system libraries, and fails.

Has this behaviour changed?


Richard Jones.
Merjis Ltd. - 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 Archives:
Bug reports: FAQ:
Beginner's list: