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: Philippe Wang <lists@p...>
Subject: Re: [Caml-list] Building OSX Universal Binaries
James Woodyatt wrote:
> On Jan 16, 2007, at 09:48, Corey O'Connor wrote:
>> On 1/15/07, Philippe Wang <lists@philippewang.info> wrote:
>>>
>>> However, ocamlopt can be configured to produce x86 asm on a PPC, 
>>> can't it ?
>>> And XCode can build universal binaries on both ppc and x86...
>>> So I guess you just need to call gcc with the right parameters...
>>
>> Actually, I have no idea. That'd be great if it did.
>
> I haven't seen any easy way to configure OCaml as a crosstool.  The 
> trick you would use here is to run the native PPC version of the OCaml 
> compilers on x86 under Rosetta.  I don't know if this works, but I 
> would expect it to work.  Be a pain in the neck, but it should work.
>
>
> --james woodyatt <jhw@apple.com>
> member of technical staff
> apple computer, inc.
well, the one more trick to use should be to give the right option to 
gcc, which is called by ocamlopt...