From: Guillaume Hennequin <guillaume.hennequin@epfl.ch>
To: caml-list@inria.fr
Subject: [Caml-list] ocamlbuild and cflags
Date: Wed, 20 Jul 2011 14:48:00 +0200 [thread overview]
Message-ID: <20110720124800.GA21796@guillaume-laptop> (raw)
Hello,
I came across two ocamlbuild issues today:
1) how can one give a cflag that requires an argument, like
ocamlbuild -cflag -inline 2 target.native
Backtrace:
- failed to build the target 2
2) I don't understand why ocamlbuild target.cmx would need to compile
target.cmo on the way... this actually prevents me from using any of the
ocamlopt-specific flags:
ocamlbuild -cflag -S target.cmx
(ocamlc itself complains it doesn't have a -S option)
any way around that?
cheers,
Guillaume.
next reply other threads:[~2011-07-20 12:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-20 12:48 Guillaume Hennequin [this message]
2011-07-20 13:06 ` xclerc
2011-07-20 14:46 ` Guillaume Hennequin
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=20110720124800.GA21796@guillaume-laptop \
--to=guillaume.hennequin@epfl.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