From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 4DD38BCB0 for ; Thu, 9 Jun 2005 18:20:11 +0200 (CEST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j59GKAp4008682 for ; Thu, 9 Jun 2005 18:20:10 +0200 Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id SAA21870 for ; Thu, 9 Jun 2005 18:20:10 +0200 (MET DST) From: padiolea@irisa.fr Received: from smtp.irisa.fr (smtp.irisa.fr [131.254.254.26]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j59GKA40007823 for ; Thu, 9 Jun 2005 18:20:10 +0200 Received: from localhost (localhost.localdomain [127.0.0.1]) by localhost.irisa.fr (Postfix) with ESMTP id EA0C2FABE; Thu, 9 Jun 2005 18:20:09 +0200 (CEST) Received: from smtp.irisa.fr ([131.254.254.26]) by localhost (meli.irisa.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 25033-01; Thu, 9 Jun 2005 18:20:09 +0200 (CEST) Received: from mail.irisa.fr (melo.irisa.fr [131.254.254.28]) by smtp.irisa.fr (Postfix) with ESMTP id 1C580FAA2; Thu, 9 Jun 2005 18:20:09 +0200 (CEST) Received: from 131.254.50.45 (SquirrelMail authenticated user padiolea) by mail.irisa.fr with HTTP; Thu, 9 Jun 2005 18:20:09 +0200 (CEST) Message-ID: <36973.131.254.50.45.1118334009.squirrel@mail.irisa.fr> In-Reply-To: <1118330851.8693.10.camel@rosella.wigram> References: <1118295206.7145.165.camel@rosella.wigram> <0908894eeba2802d8441ea3476c67c36@wetware.com> <1118330851.8693.10.camel@rosella.wigram> Date: Thu, 9 Jun 2005 18:20:09 +0200 (CEST) Subject: Re: [Caml-list] Caml on intel-OSX To: "John Skaller" Cc: "james woodyatt" , "The Caml Trade" User-Agent: SquirrelMail/1.4.4 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: by amavisd-new at irisa.fr X-Miltered: at concorde with ID 42A86C3A.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 42A86C3A.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; irisa:01 caml-list:01 woodyatt:01 bytecode:01 ocaml:01 binary:01 ocamlrun:01 ocaml:01 ocamlopt:01 compiler:01 bytecode:01 ocamlrun:01 2005,:98 wrote:01 wrote:01 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yquem.inria.fr X-Spam-Status: No, score=0.2 required=5.0 tests=NO_REAL_NAME autolearn=disabled version=3.0.2 X-Spam-Level: > On Thu, 2005-06-09 at 07:00 -0700, james woodyatt wrote: >> On 08 Jun 2005, at 22:33, John Skaller wrote: >> > >> > And a dumb question .. will a bytecode Ocaml program >> > just run on any machine provided a single binary, >> > ocamlrun, is installed and accessible? >> >> You probably want all the ocaml tools to be built as universal binaries >> and you probably also want the ocamlopt compiler to be able to produce >> universal binaries. I would expect that will require some effort from >> the Caml Team at INRIA. > > Lol! no, it is a simple question. Can I make a bytecode program > and just ship it an expect it to run? No. So what else is required? I guess that if your bytecode program require some external libraries, such as for instance if you do a "open Dbm" then you must have too this library. I think that ocamlrun only include code to handle the Pervasive library.