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,HTML_MESSAGE,SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id AF807BBC1 for ; Tue, 4 Mar 2008 02:26:35 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CAPYzzEfRVca9hGdsb2JhbACCODaOCAEBAQgEBQgKFpRYiCA X-IronPort-AV: E=Sophos;i="4.25,441,1199660400"; d="scan'208";a="7966159" Received: from concorde.inria.fr ([192.93.2.39]) by mail2-smtp-roc.national.inria.fr with ESMTP; 04 Mar 2008 02:26:35 +0100 Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id m241QWTt015250 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Tue, 4 Mar 2008 02:26:35 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CAPYzzEfRVca9hGdsb2JhbACCODaOCAEBAQgEBQgKFpRYiCA X-IronPort-AV: E=Sophos;i="4.25,441,1199660400"; d="scan'208";a="7966158" Received: from rv-out-0910.google.com ([209.85.198.189]) by mail2-smtp-roc.national.inria.fr with ESMTP; 04 Mar 2008 02:26:34 +0100 Received: by rv-out-0910.google.com with SMTP id g11so394402rvb.57 for ; Mon, 03 Mar 2008 17:26:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=OAIzWDV0/qlSuZRPg1RYaCrzW40RHHvI+/dK+Nw0a84=; b=Yz8vTejBCLFTX5tQMvRQiuoV1wa87x3BqTkbyCO/+Sl9MiiQZRQeSrVzjRxqLVAKIPuPKEnlUVwti6or0vPbkU8w3rkqyEiLYItqQCJT9jyJP6GhUlAqEgIJ6eqtA6kLByvvsYfjXlVobqWemTz+2dqD7i3gsMzZwYHu6MRvd6g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=qWDiUTYiosJ1642C06Xi+1XrkNlcRb9mUp0sTOVq8s+hPXnIG10cWB9lk0BctU4LYYUojZpGnNurUuoUUAcpeSAW90Mu1Qfb0X88IEAqzyBnzDKlM2h+YyrDX/QNivqcwsOiccUIc0BFUBqP8Oi8i/diEYFrm28V99YqG2nfocg= Received: by 10.141.167.5 with SMTP id u5mr437740rvo.189.1204593993893; Mon, 03 Mar 2008 17:26:33 -0800 (PST) Received: by 10.141.41.9 with HTTP; Mon, 3 Mar 2008 17:26:33 -0800 (PST) Message-ID: Date: Mon, 3 Mar 2008 20:26:33 -0500 From: "Ashish Agarwal" To: caml-list@inria.fr Subject: Re: [Caml-list] ocamlbuild's symlink behavior In-Reply-To: <20080303180449.GA16119@stratocaster.home> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_35010_19728995.1204593993896" References: <20080303180449.GA16119@stratocaster.home> X-Miltered: at concorde with ID 47CCA548.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; symlink:01 symlink:01 symlinks:01 symlinks:01 1975:98 wrote:01 wrote:01 symbolic:01 symbolic:01 caml-list:01 executables:01 executables:01 external:03 external:03 seems:03 ------=_Part_35010_19728995.1204593993896 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline It is probably better to refer to the executables under _build in external scripts. On Mon, Mar 3, 2008 at 1:04 PM, Eric Cooper wrote: > Ocamlbuild seems to create a symbolic link into the _build directory > when you build a single target. But it removes that symlink if you > build a different target, and it doesn't produce any symlinks if you > build a *.otarget. > > Is there any rationale for this? It makes it difficult to use the > resulting symlinks in any kind of build script. > > -- > Eric Cooper e c c @ c m u . e d u > ------=_Part_35010_19728995.1204593993896 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline It is probably better to refer to the executables under _build in external scripts.


On Mon, Mar 3, 2008 at 1:04 PM, Eric Cooper <ecc@cmu.edu> wrote:
> Ocamlbuild seems to create a symbolic link into the _build directory
> when you build a single target. But it removes that symlink if you
> build a different target, and it doesn't produce any symlinks if you
> build a *.otarget.
>
> Is there any rationale for this? It makes it difficult to use the
> resulting symlinks in any kind of build script.
>
> --
> Eric Cooper e c c @ c m u . e d u
>

------=_Part_35010_19728995.1204593993896--