caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* ocamlbuild: P vs Px
@ 2007-05-18  9:29 Joel Reymont
  2007-05-18  9:34 ` [Caml-list] " Nicolas Pouillard
  0 siblings, 1 reply; 2+ messages in thread
From: Joel Reymont @ 2007-05-18  9:29 UTC (permalink / raw)
  To: OCaml List

What is the difference between P and Px here?

        and lib_a = env "lib%.a" in
          Seq[cp libasmrun lib_a;
              Cmd(S[ar; A"r"; Px lib_a; P caml_o; P wrap_o])]

	Thanks, Joel

--
http://wagerlabs.com/






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

* Re: [Caml-list] ocamlbuild: P vs Px
  2007-05-18  9:29 ocamlbuild: P vs Px Joel Reymont
@ 2007-05-18  9:34 ` Nicolas Pouillard
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Pouillard @ 2007-05-18  9:34 UTC (permalink / raw)
  To: Joel Reymont; +Cc: OCaml List

On 5/18/07, Joel Reymont <joelr1@gmail.com> wrote:
> What is the difference between P and Px here?
>
>         and lib_a = env "lib%.a" in
>           Seq[cp libasmrun lib_a;
>               Cmd(S[ar; A"r"; Px lib_a; P caml_o; P wrap_o])]

Px should be used for the output path.

When running a command, if a Px is present then it will be used for
display something clearer than the whole command line.

-- 
Nicolas Pouillard


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

end of thread, other threads:[~2007-05-18  9:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-18  9:29 ocamlbuild: P vs Px Joel Reymont
2007-05-18  9:34 ` [Caml-list] " Nicolas Pouillard

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