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=0.0 required=5.0 tests=none 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 9106BBB84 for ; Sat, 24 May 2008 09:32:27 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlICAMdhN0jAXQIniGdsb2JhbACSNgEBAQ8gmyk X-IronPort-AV: E=Sophos;i="4.27,534,1204498800"; d="scan'208";a="26562452" Received: from concorde.inria.fr ([192.93.2.39]) by mail4-smtp-sop.national.inria.fr with ESMTP; 24 May 2008 09:32:06 +0200 Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id m4O7W5ok018467 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Sat, 24 May 2008 09:32:06 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApQAAJtgN0hQW+UCmmdsb2JhbACSNgEBAQEBCAUIBxEEmyU X-IronPort-AV: E=Sophos;i="4.27,534,1204498800"; d="scan'208";a="12984202" Received: from main.gmane.org (HELO ciao.gmane.org) ([80.91.229.2]) by mail3-smtp-sop.national.inria.fr with ESMTP; 24 May 2008 09:32:05 +0200 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JzoEX-0006Vf-BR for caml-list@inria.fr; Sat, 24 May 2008 07:32:05 +0000 Received: from vpn-epfl-b049.epfl.ch ([128.178.84.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 24 May 2008 07:32:05 +0000 Received: from Michel.Schinz by vpn-epfl-b049.epfl.ch with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 24 May 2008 07:32:05 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: caml-list@inria.fr From: Michel Schinz Subject: Re: Building a universal binary on OS X? Date: Sat, 24 May 2008 09:31:57 +0200 Message-ID: References: <46105D6E-BE5B-4473-B24A-75B0F86C4EC2@polytechnique.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: vpn-epfl-b049.epfl.ch User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (darwin) Cancel-Lock: sha1:oro+AIcvbEJhl7c3uNWG99PSKGA= Sender: news X-Miltered: at concorde with ID 4837C475.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; schinz:01 schinz:01 schmitt:01 schmitt:01 gmane:01 gmane:01 ocaml:01 compile:01 compile:01 michel:01 michel:01 executables:01 writes:01 alan:02 alan:02 Alan Schmitt writes: [...] > My goal is to be able to compile the OS GUI version of Unison on a > single machine. Right now, using my intel-based notebook, I'm able to > compile a version that runs both on 10.4 and 10.5, but only on intel. [...] > I think I remember an old message addressing this, but I have not been > able to find it. You might be referring to this message: http://thread.gmane.org/gmane.comp.lang.caml.general/38930 The cute trick consists in building a PPC version of OCaml on a PPC machine, and then copying it over to your Intel machine. It will run fine (albeit slowly) under Rosetta, and generate PPC executables. Michel.