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.6 required=5.0 tests=AWL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id 97AAEBBAF for ; Sun, 25 May 2008 13:39:09 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqIBAIPsOEjAXQImiGdsb2JhbACSNwEBAQ8glDGEcg X-IronPort-AV: E=Sophos;i="4.27,537,1204498800"; d="scan'208";a="13009586" Received: from discorde.inria.fr ([192.93.2.38]) by mail3-smtp-sop.national.inria.fr with ESMTP; 25 May 2008 13:39:09 +0200 Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id m4PBd8jc019868 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Sun, 25 May 2008 13:39:08 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Aq8LADnsOEhKfS4eZGdsb2JhbACSKhoEAwQJDgaULYRz X-IronPort-AV: E=Sophos;i="4.27,537,1204498800"; d="scan'208";a="12679398" Received: from yw-out-2324.google.com ([74.125.46.30]) by mail1-smtp-roc.national.inria.fr with ESMTP; 25 May 2008 13:39:08 +0200 Received: by yw-out-2324.google.com with SMTP id 5so1133167ywh.27 for ; Sun, 25 May 2008 04:39:07 -0700 (PDT) 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; bh=CpMVkdiT9YQvJMXbhEm3/iHJ/XtLLXECU5NxPNDVYtY=; b=gf6CXzqR5JHvt4kV1bFuK7a+fn7Ms3UWBsfBCcXmuoSwBfBVq4uusq/ZmJ92zw8AirRtAudF3QYAeHeU5yEj11F0hGhxEVVQ3IpmcaIYzwne4AjbouQBGSr04oeGWowHxXFqVKVGora5bzje96ltR/eDFkM0dR7OiCTyYrI69vE= 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; b=Z4VjM6Z4hDB6u1VMJniD4lcth9PjPTMHZXJICRWHjo0JgqR5pi9UUBq/Nly30pU24/46LXgtlQeng1Rpsb0x9TMXzL/IxKtxH/ucbZOQ77gJmgb6kgxcNK7iUCLnPt06upIEc1AtA2fQ+O3qVMteVxadoRs6NXO72KDW4zYRvGc= Received: by 10.150.84.41 with SMTP id h41mr1554829ybb.215.1211715547153; Sun, 25 May 2008 04:39:07 -0700 (PDT) Received: from ?10.0.1.4? ( [70.19.82.63]) by mx.google.com with ESMTPS id 33sm4946708yxr.3.2008.05.25.04.39.04 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 25 May 2008 04:39:05 -0700 (PDT) Cc: caml-list@inria.fr Message-Id: <4B9FD87A-8152-46F4-9747-418DEC2327F8@gmail.com> From: Andres Varon To: Michel Schinz In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Subject: Re: [Caml-list] Re: Building a universal binary on OS X? Date: Sun, 25 May 2008 07:39:04 -0400 References: <46105D6E-BE5B-4473-B24A-75B0F86C4EC2@polytechnique.org> X-Mailer: Apple Mail (2.919.2) X-Miltered: at discorde with ID 48394FDC.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; schinz:01 schmitt:01 schmitt:01 gmane:01 gmane:01 ocaml:01 gcc:01 -prefix:01 ocaml:01 beginner's:01 bug:01 tiger:98 beginners:01 wrote:01 macosx:01 On May 24, 2008, at 3:31 AM, Michel Schinz wrote: > 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. Actually you can cross compile it in your intel mac, this is what I use to configure it: ./configure -cc "gcc -mmacosx-version-min=10.4 -arch ppc -isysroot / Developer/SDKs/MacOSX10.4u.sdk" -prefix /opt/ocaml/3.10.2/tiger/ppc - host powerpc-apple-darwin8.11.0 Then use the standard make world; make opt; .... Andres > > > Michel. > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs