Re: Can ocamlfind report what it does?
Gabriel Scherer <[email protected]>
| Newsgroups | gmane.comp.lang.ocaml.beginners |
|---|---|
| Message-ID | <CAPFanBEq5ByAj6_ZUjCQH-4mtP_jRb2hh7EyNYqdc_Xh_RyFUg@mail.gmail.com> |
You can pass the -verbose option to ocamlfind (it's not available for
all subcommands, see "man ocamlfind" for the details, but with works
with "ocamlfind ocaml{c,opt}" at least). It will show you the
compilation command finally used by ocamlfind, but also pass the
-verbose option to the OCaml compiler, which will show the internal
compilation and linking commands, if any.
On Sat, May 3, 2014 at 3:56 AM, Hendrik Boom <[email protected]> wrote:
> On Fri, 02 May 2014 16:16:45 -0400, Sebastien Mondet wrote:
>
>> Hi
>>
>> You should use ocamlfind.
>>
>> ocamlfind ocamlopt -package ... etc.
>>
>>
>> Cheers Seb
>>
>
> Yes, that works better.
>
> Is there a way to get ocamlfind to show me the command it ends up
> building and executing?
>
> -- hendrik
>
>
>
> ------------------------------------
>
> Archives up to December 31, 2011 are also downloadable at http://www.connettivo.net/cntprojects/ocaml_beginners
> The archives of the very official ocaml list (the seniors' one) can be found at http://caml.inria.fr
> Attachments are banned and you're asked to be polite, avoid flames etc.Yahoo Groups Links
>
>
>