From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=AWL,SPF_NEUTRAL autolearn=disabled version=3.1.3 Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 12C2DBC0A for ; Fri, 18 May 2007 11:34:34 +0200 (CEST) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.226]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l4I9YXnC018903 for ; Fri, 18 May 2007 11:34:33 +0200 Received: by nz-out-0506.google.com with SMTP id l8so1299570nzf for ; Fri, 18 May 2007 02:34:32 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=s6w90cAwObsRerbRg9jM7unA0tv120UA3gk2mEZ8h3A16rIfmZ8j51AYb+VAvkh+SmTn2InFoZObZvCyHjp1GueY+Rt4oVDXjAsz/QZmu5eMTZSDxluGNfzeJAef9UTbhdLFt6xa0vJJ7++qRPpcjon/9Q4t52UoNSuJTmWRdOg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Ln5lR2WVlENCBO47TT5SxYQMRBDS2UZUBROAPFR9061aJQOoH3w4zc99OWpX9C3dfHfJZJlinVn7rbEq8O3RGSHGj8MggrgLL5dtuyiZfAb61jEt/72Nl6myvS9olSAVdL6rALcoGxNd8moPhyP22MsHtTjaElX1eJyqjFtCgF4= Received: by 10.114.154.1 with SMTP id b1mr775985wae.1179480872638; Fri, 18 May 2007 02:34:32 -0700 (PDT) Received: by 10.114.183.4 with HTTP; Fri, 18 May 2007 02:34:32 -0700 (PDT) Message-ID: Date: Fri, 18 May 2007 11:34:32 +0200 From: "Nicolas Pouillard" To: "Joel Reymont" Subject: Re: [Caml-list] ocamlbuild: P vs Px Cc: "OCaml List" In-Reply-To: <866092EA-BDA0-40D2-8B8F-6C68652F8555@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <866092EA-BDA0-40D2-8B8F-6C68652F8555@gmail.com> X-j-chkmail-Score: MSGID : 464D7329.000 on discorde : j-chkmail score : X : 0/20 1 0.000 -> 1 X-Miltered: at discorde with ID 464D7329.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; lib:01 lib:01 seq:01 libasmrun:01 wrote:01 clearer:01 caml-list:01 caml:02 output:02 env:03 wrap:07 path:07 nicolas:08 nicolas:08 should:13 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