caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] ocamlbuild and cflags
@ 2011-07-20 12:48 Guillaume Hennequin
  2011-07-20 13:06 ` xclerc
  0 siblings, 1 reply; 3+ messages in thread
From: Guillaume Hennequin @ 2011-07-20 12:48 UTC (permalink / raw)
  To: caml-list

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.


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

end of thread, other threads:[~2011-07-20 14:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-20 12:48 [Caml-list] ocamlbuild and cflags Guillaume Hennequin
2011-07-20 13:06 ` xclerc
2011-07-20 14:46   ` Guillaume Hennequin

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