caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Daniel Bünzli" <daniel.buenzli@erratique.ch>
To: caml-list List <caml-list@inria.fr>
Subject: Re: [Caml-list] ocamlbuild and installed modules and libraries
Date: Mon, 17 Nov 2008 11:07:01 +0100	[thread overview]
Message-ID: <AADC593F-6962-4084-A74F-9B3777584400@erratique.ch> (raw)
In-Reply-To: <49213F3B.5030805@lri.fr>


Le 17 nov. 08 à 10:54, Romain Bardou a écrit :

> Isn't it almost as simple to write, in a script:
>  ocamlbuild -cflags -I,$DEPDIR -lflags -I,$DEPDIR
> instead of:
>  ocamlbuild -I $DEPDIR
> Remember that $DEPDIR must be absolute, or relative to the _build  
> directory.

Yes, I can live with that.

> And for modules, instead of -lib bla, you write -lflags bla.cmo or - 
> lflags bla.cmx. You can have several -lflags if you want.  
> Unfortunately you have to specify the extension, so it is true that  
> a -mod option would actually add something.

That is the point, from my perspective the problem is solved for  
libraries but not for single modules.

Daniel


      reply	other threads:[~2008-11-17 10:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-16 18:22 Daniel Bünzli
2008-11-16 20:37 ` [Caml-list] " Nicolas Pouillard
2008-11-17  9:20   ` Daniel Bünzli
2008-11-17  9:54     ` Romain Bardou
2008-11-17 10:07       ` Daniel Bünzli [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AADC593F-6962-4084-A74F-9B3777584400@erratique.ch \
    --to=daniel.buenzli@erratique.ch \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).