Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
ocamlbuild: P vs Px
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-05-18 (09:34)
From: Nicolas Pouillard <nicolas.pouillard@g...>
Subject: Re: [Caml-list] ocamlbuild: P vs Px
On 5/18/07, Joel Reymont <> 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