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.4 required=5.0 tests=SPF_NEUTRAL autolearn=disabled version=3.1.3 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id 14199BC69 for ; Fri, 14 Sep 2007 11:44:39 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAABH16UZA6ba6i2dsb2JhbACOEgEBAQgCBhERBQ X-IronPort-AV: E=Sophos;i="4.20,255,1186351200"; d="scan'208";a="16189293" Received: from nf-out-0910.google.com ([64.233.182.186]) by mail4-smtp-sop.national.inria.fr with ESMTP; 14 Sep 2007 11:45:10 +0200 Received: by nf-out-0910.google.com with SMTP id e27so659872nfd for ; Fri, 14 Sep 2007 02:45:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=C96/sgxN3Vk49jE3AqjhGNnJdNBl+i4D3OOPw994m+4=; b=gtqdyonfBG+xSShEIob8iJUJF4JhV2UL2DC1SWiq61Z7l8QHAohf6adE1SB+ftbD6eyPwtKzuic0bQIcNcYJB3d8XS3k5rzFo11mn6MleCvRJGVrZgWt/mxZAN5DAJR7u7PgGAWCCd618CwP4ST71w08Bt2t/H4BJPKOpWQcXZU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=rCZeWM8YjgNl3ZW89PCTDvEn7y8clgC/KWpckk1ED+2UhEHOA8Gs8WCpSOpnhlQv+iP1gJwr+KFDSNlYYRTQKp2Fmo8DO+9nZCymK++a9WiCnkWbUGrPtDzD8gSeMYACO/xBTVkGTRAMBF829jPKO7pCGIvAFLJe0IvQBCfKuwk= Received: by 10.86.51.2 with SMTP id y2mr1282809fgy.1189763109723; Fri, 14 Sep 2007 02:45:09 -0700 (PDT) Received: by 10.86.96.8 with HTTP; Fri, 14 Sep 2007 02:45:09 -0700 (PDT) Message-ID: <4b5157c30709140245ud523bafj14a6aa300290cf3f@mail.gmail.com> Date: Fri, 14 Sep 2007 11:45:09 +0200 From: "Paolo Donadeo" To: caml-list@yquem.inria.fr Subject: ocamlbuild: change the target name MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Spam: no; 0.00; makefiles:01 bytecode:01 compiler:01 byte:01 byte:01 output:02 native:03 executable:03 module:03 compiled:04 guess:04 correctly:04 generated:05 sigma:05 sigma:05 I'm porting the build system of Ex-nunc from a plethora of makefiles to ocamlbuild. Is it possible to change the name of the generated (bytecode or native) executable name? The Ex-nunc page compiler has a main module contained in the file (try to guess) mail.ml. Using: $ ocamlbuild ...some options... main.byte the program is correctly compiled and named main.byte, but I would prefer the output was called "xnuncc". Now I use the mv command, but it's not the best solution. TIA, -- Paolo Donadeo, Senior Software Engineer Studio Associato 4Sigma Email: p.donadeo@4sigma.it ~ ~ :wq