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=2.9 required=5.0 tests=AWL,DNS_FROM_RFC_POST, 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 mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id 7E05EBB84 for ; Tue, 25 Nov 2008 20:37:35 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhcBAOfiK0nY7zq6kGdsb2JhbACTIT4BAQEBCQkMBxGzEIxUAQMBA4J6ghg X-IronPort-AV: E=Sophos;i="4.33,665,1220220000"; d="scan'208";a="31831814" Received: from gv-out-0910.google.com ([216.239.58.186]) by mail4-smtp-sop.national.inria.fr with ESMTP; 25 Nov 2008 20:37:35 +0100 Received: by gv-out-0910.google.com with SMTP id o2so66967gve.4 for ; Tue, 25 Nov 2008 11:37:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer:sender; bh=gTPy28L0EsdpnCV3neH/ESyVp+PdJhCIs/A5vuf9Qr8=; b=dHcMvvRJ1R6QQfSehuby2pKhck87U4XfPW6puXsTf+KtOtOyw1pvMk5ljHy/7rEZuR O+UiZ7/aN3dJEb1yEyfxFjelDRIrAMeF8PjBE5ds0pG/gdoyq1Xw6KoxwSGzvjKuVCp4 cVyt+PjMbkkYKWyc0EswlDNi823itLotNPd3g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer:sender; b=MbArD7MTdlj8/PhBydabRP9K1h7Upuargsr9UXlyvZRL42iJFvN26c/8xeXyogkIE3 0TikUH8GaiMXk0p+iCrdCCCohcoyGAAA8EXyy4m9tKMDnNb1NFF62h8J645NIWXwh0i/ 0ZE4ikAGHfzi2vkbRzH+lOS26h0gbnWd0W4Bg= Received: by 10.86.99.9 with SMTP id w9mr3185314fgb.38.1227641854473; Tue, 25 Nov 2008 11:37:34 -0800 (PST) Received: from ?192.168.1.34? (154-37.76-83.cust.bluewin.ch [83.76.37.154]) by mx.google.com with ESMTPS id 4sm7739619fgg.4.2008.11.25.11.37.33 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 25 Nov 2008 11:37:34 -0800 (PST) Cc: Nicolas Pouillard Message-Id: <08BA5EFA-39D5-4726-98D9-FFDE69C57A2E@erratique.ch> From: =?ISO-8859-1?Q?Daniel_B=FCnzli?= To: OCaml List In-Reply-To: <908917.4744.qm@web111516.mail.gq1.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v929.2) Subject: Re: [Caml-list] Native dynlink on 3.11: a request for packagers Date: Tue, 25 Nov 2008 20:36:28 +0100 References: <908917.4744.qm@web111516.mail.gq1.yahoo.com> X-Mailer: Apple Mail (2.929.2) Sender: =?UTF-8?B?RGFuaWVsIELDvG56bGk=?= X-Spam: no; 0.00; bunzli:01 buenzli:01 dynlink:01 packagers:01 afaik:01 dynlink:01 cmxa:01 cmx:01 bytecode:01 cmo:01 -shared:01 bug:01 caml-list:01 cma:01 binary:02 Le 21 nov. 08 =E0 20:29, Dario Teixeira a =E9crit : > AFAIK, you cannot directly dynlink a cmxa or cmx file like you would =20= > do in > bytecode with cma or cmo files. Beforehand, a native code > binary must be made into a plugin via ocamlopt's -shared > option. To make it easy to do this for a module or a library would it be =20 possible to add a new default %.cmxs target in ocamlbuild before 3.11 =20= is released (or is it already too late) ? Best, Daniel P.S. Tell me if you prefer to have that in the bug tracker.