English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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