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.0 required=5.0 tests=AWL,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 concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 2C2E4BC0A for ; Tue, 15 May 2007 22:28:01 +0200 (CEST) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.230]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l4FKS0St027881 for ; Tue, 15 May 2007 22:28:00 +0200 Received: by nz-out-0506.google.com with SMTP id l8so306315nzf for ; Tue, 15 May 2007 13:28:00 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=mSey7vzUdOVH9MzgMkhw8fPqLEDyaVrBdpWtejKzq7X3NhFne8lvqR3nHS2223X2JqDpO/880xwrNEXV4v38tDGt/23YRLp49ZN6cDSIP1VSBaR+VgSMCiVcWI4QI5XkEoZnJq4zD/fnADNl+8w9WEKn/JdebDeiq2r8t+sY2UQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Cn3YFVNDexTDxAETbhKdfZ+y2Mt2RfSEiQt62AolLOwfhbZUZCEVAhQcaJpZrr2gv/oyQnb+ocv+bmY3Lt1VhOSvdciTqYiS1d7cBDoOotjgtdybJK8T6sHN/0e5AO231q6iXeF2J7tBIGoE2iGw9mObgI0WOt7Un9YNL7Tndas= Received: by 10.114.196.1 with SMTP id t1mr1761533waf.1179260879780; Tue, 15 May 2007 13:27:59 -0700 (PDT) Received: by 10.114.170.5 with HTTP; Tue, 15 May 2007 13:27:59 -0700 (PDT) Message-ID: <131e28b50705151327h6f99aceerec01e9d3a10e883f@mail.gmail.com> Date: Tue, 15 May 2007 22:27:59 +0200 From: "Rhythmic Fistman" To: skaller Subject: Re: [Felix-impl] it no me build Cc: felix-impl , "Emmanuel Onzon" , caml-list In-Reply-To: <1179258190.7592.46.camel@rosella.wigram> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <131e28b50705141643l195bae7cxb80c278e5eec7c4f@mail.gmail.com> <1179251231.7592.9.camel@rosella.wigram> <131e28b50705151200k7989f3d2m64ef3cea4668ca33@mail.gmail.com> <1179258190.7592.46.camel@rosella.wigram> X-j-chkmail-Score: MSGID : 464A17D0.001 on concorde : j-chkmail score : X : 0/20 1 0.000 -> 1 X-Miltered: at concorde with ID 464A17D0.001 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; 0200,:01 ocaml:01 tarball:01 ocamlc:01 ocamlc:01 ocamlopt:01 ocaml:01 ocamlopt:01 bytecode:01 bytecode:01 -pack:01 -pack:01 sourceforge:01 wrote:01 wrote:01 On 5/15/07, skaller wrote: > On Tue, 2007-05-15 at 21:00 +0200, Rhythmic Fistman wrote: > > > > The Felix build scripts ARE different .. but the effect should > > > be the same. Any which way it should either fail on all platforms > > > or build on all platforms .. there's no C code here, and Ocaml > > > is supposed to be portable. > > > > Somewhere... someone lied. > > > > Haha, just kidding. The difference is that the tarball uses ocamlc and > > flx here is using ocamlc.opt. Could that be relevant? > > As I understand it: > > No. ocamlc.opt and ocamlc are functionally equivalent. > The only difference is ocamlc is compiled with ocamlc, > whereas ocamlc.opt is compiled with ocamlopt. > > In other words, ocamlc.opt is faster because it is > built as native code, but they're built from the > same ocaml sources. Bootstrapping is cool! > > In fact there ARE differences between ocamlc > and ocamlopt built code, apart from speed: > for example bytecode supports dynamic loading > of bytecode whereas native code does not .. > but this shouldn't affect ocamlc. > > However, -pack MAY be different; it is a new feature > and didn't work on any processor other than x86 originally, > so this might be a difference. -pack does nasty stuff > with native code which requires arcane knowledge of > object files, whereas with bytecode it's the same on > all platforms. Can we disable -pack? Can I fall back to ocamlc? How?