Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: 2007-01-16 (01:24)
From: Corey O'Connor <coreyoconnor@g...>
Subject: Re: [Caml-list] Building OSX Universal Binaries
On 1/15/07, Daniel Bünzli <> wrote:
> Le 15 janv. 07 à 22:33, Corey O'Connor a écrit :
> > 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.

-Corey O'Connor