From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id CE6BC7EE51 for ; Thu, 2 May 2013 11:32:39 +0200 (CEST) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of gildor478@gmail.com) identity=pra; client-ip=209.85.223.175; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="gildor478@gmail.com"; x-sender="gildor478@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of gildor478@gmail.com designates 209.85.223.175 as permitted sender) identity=mailfrom; client-ip=209.85.223.175; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="gildor478@gmail.com"; x-sender="gildor478@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-ie0-f175.google.com) identity=helo; client-ip=209.85.223.175; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="gildor478@gmail.com"; x-sender="postmaster@mail-ie0-f175.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ah4DAPsxglHRVd+vlGdsb2JhbABSw1cIFg4BAQEBBwsLCRIqgiABBUABOAEDDAEFBQs7IhIBBQEcBhOHegMPpAyPNoRgJw2HbgEFDJJvA5cpj0wWKYFcglk6 X-IPAS-Result: Ah4DAPsxglHRVd+vlGdsb2JhbABSw1cIFg4BAQEBBwsLCRIqgiABBUABOAEDDAEFBQs7IhIBBQEcBhOHegMPpAyPNoRgJw2HbgEFDJJvA5cpj0wWKYFcglk6 X-IronPort-AV: E=Sophos;i="4.87,595,1363129200"; d="scan'208";a="12969294" Received: from mail-ie0-f175.google.com ([209.85.223.175]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 02 May 2013 11:32:38 +0200 Received: by mail-ie0-f175.google.com with SMTP id s9so397260iec.20 for ; Thu, 02 May 2013 02:32:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=UXa2Zq9GljfPH/iQGZiL9Bw0QQHgqy9OUWKM0wOUQNg=; b=Xy8Kyx5Ol3TN6KUFRyJDreLoelQVCCGCxfKRCeoQjz45IccrTi1D2nB05uNJcF1X0U lFXkveg/xg+cKGMk0c/nIe0FHsKdYFF8lknnZk/J6GqjcI3xddoUZ3QdPSNdNKN5qqXg Ks1421k4NkhZB/113PHXgRCpDKjJ5KfHMi3onVywHUtcbwNH2XqUuv2jJjTesb6M6+wI cw5i48BxHH6q5iB90MR2Rl//1AfRqfOTuXXecf69nvkTKkexDSwoYcXKJAFMAEt/aJFe AV3C68t02vznJ4aW8aQYoMtEGv1zcvqS1rNbHYU7sgjKQ1qNZRbq9Iq8fxXykEsQy2v9 hLLA== MIME-Version: 1.0 X-Received: by 10.50.114.106 with SMTP id jf10mr6024365igb.111.1367487157866; Thu, 02 May 2013 02:32:37 -0700 (PDT) Sender: gildor478@gmail.com Received: by 10.64.7.166 with HTTP; Thu, 2 May 2013 02:32:37 -0700 (PDT) In-Reply-To: <5182215A.5050707@riken.jp> References: <517BF591.4060504@glondu.net> <20130502081417.GE30390@annexia.org> <5182215A.5050707@riken.jp> Date: Thu, 2 May 2013 11:32:37 +0200 X-Google-Sender-Auth: pMswM4UU_xHx48ezijN4GlCd0zo Message-ID: From: Sylvain Le Gall To: Francois Berenger Cc: caml-list Content-Type: text/plain; charset=ISO-8859-1 Subject: [Caml-list] Re: oasis help: forcing the name of generated executables Hi, >From an ocamlbuild point of view, no. Because you need to differentiate .native from .byte given the filename (e.g. like Makefile rules). Although, we can implement a tag "is_native_program": "foo/bar": is_native_program This could do the trick, but you need to check how to do it and maybe propose a patch to ocamlbuild. >From an oasis point of view, it is already done: There should be a rule that copy the exec to the right name at the end of the build process. If it is not the case, open a bug and I'll check the problem. However, you get foo.native and foo (one is a copy of the other). Regards Sylvain 2013/5/2 Francois Berenger : > Hello, > > Is there a way to tell oasis to name > an executable toto instead of toto.native? > > I build only native binaries, so there is not > any toto.byte around. > > Thanks a lot, > F. >