Version française
Home     About     Download     Resources     Contact us    
Browse thread
Building OSX Universal Binaries
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Corey O'Connor <coreyoconnor@g...>
Subject: Re: [Caml-list] Building OSX Universal Binaries
On 1/7/07, Daniel Bünzli <daniel.buenzli@epfl.ch> wrote:
>
>
> Le 7 janv. 07 à 01:25, Nicolas Cannasse a écrit :
>
> > I would be interested in building OSX Universal Binaries using
> > ocamlopt.
> > Did anybody found a way to do that ?
>
> The only way I see is to have access to both a ppc and intel machine
> an join the executables with the command line tool lipo.
> Maybe a wish to directly produce universal binaries should go in the
> bugtracker.



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.

-- 
-Corey O'Connor