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=HTML_MESSAGE,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 discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 9333BBC0B for ; Tue, 16 Jan 2007 02:24:28 +0100 (CET) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.230]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l0G1ORsM014088 for ; Tue, 16 Jan 2007 02:24:28 +0100 Received: by wr-out-0506.google.com with SMTP id i28so1102924wra for ; Mon, 15 Jan 2007 17:24:27 -0800 (PST) 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:references; b=FhKhz5O/cLH91pXPtXQAKhucNNuB+zEDEhyjYl6xPMGQ47lt7wIBU5i+yJr/MmTpBHlI6puXQM52MRyXk0mc6xkaA8dptI82yC3IJzWpj5DnwXevrrn2BaXxM+aGeb24C4yF3wSGLuDv0v0oWr0kPJwGR2eKuKQ22W0iQwzsPpU= Received: by 10.78.166.7 with SMTP id o7mr2979280hue.1168910657113; Mon, 15 Jan 2007 17:24:17 -0800 (PST) Received: by 10.78.100.12 with HTTP; Mon, 15 Jan 2007 17:24:17 -0800 (PST) Message-ID: Date: Mon, 15 Jan 2007 17:24:17 -0800 From: "Corey O'Connor" To: "=?ISO-8859-1?Q?Daniel_B=FCnzli?=" Subject: Re: [Caml-list] Building OSX Universal Binaries Cc: caml-list@yquem.inria.fr In-Reply-To: <71217FB6-B868-40DA-9019-230D9EEA7FEB@epfl.ch> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_104070_5017032.1168910657047" References: <45A03E09.3050907@motion-twin.com> <71217FB6-B868-40DA-9019-230D9EEA7FEB@epfl.ch> X-j-chkmail-Score: MSGID : 45AC294B.000 on discorde : j-chkmail score : XX : 0/20 2 0.000 -> 2 X-Miltered: at discorde with ID 45AC294B.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; osx:01 bunzli:01 buenzli:01 ocaml:01 caml's:01 haskell:01 compiler:01 bunzli:01 buenzli:01 ocaml:01 caml's:01 haskell:01 compiler:01 corey:98 corey:98 ------=_Part_104070_5017032.1168910657047 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 1/15/07, Daniel B=FCnzli wrote: > > > Le 15 janv. 07 =E0 22:33, Corey O'Connor a =E9crit : > > > I don't think you need access to both a ppc and intel machine: Just > > an intel machine would suffice. Two separate installs of ocaml, One > > PPC and one Intel, then using some appropriate PATH variable magic > > to switch between compiling with one vs the other. Then lipo at > > the end. Should work OK. > > Maybe, then I guess a ppc machine would also be enough. Do you happen > to know how to trick caml's ./configure ? I don't think a ppc machine would be enough since a ppc mac cannot run x86 programs but a x86 mac can run both ppc and x86 programs. Not sure how to trick configure either. I've done this process before with Haskell programs, but in that case used pre-built binaries of the compiler for each platform. --=20 -Corey O'Connor ------=_Part_104070_5017032.1168910657047 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline

On 1/15/07, Daniel B=FCnzli <d= aniel.buenzli@epfl.ch> wrote:

Le 15 janv. 07 =E0 22:33, Corey O'Connor a =E9crit :

> I = don't think you need access to both a ppc and intel machine: Just
&g= t; an intel machine would suffice. Two separate installs of ocaml, One
&= gt; PPC and one Intel, then using some appropriate PATH variable magic
> to  switch between compiling with one vs the other. Then= lipo at
> the end. Should work OK.

Maybe, then I guess a ppc = machine would also be enough. Do you happen
to know how to trick caml= 9;s ./configure ?

I don't think a ppc machine would be enough since= a ppc mac cannot run x86 programs but a x86 mac can run both ppc and x86 p= rograms. 
Not sure how to trick configure either. I've done th= is process before with Haskell programs, but in that case used pre-built bi= naries of the compiler for each platform.

--
-Corey O'Connor ------=_Part_104070_5017032.1168910657047--