caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Philippe Wang <lists@philippewang.info>
To: "Corey O'Connor" <coreyoconnor@gmail.com>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Building OSX Universal Binaries
Date: Tue, 16 Jan 2007 08:58:49 +0100	[thread overview]
Message-ID: <13C8AAD6-95A2-4080-A7C2-A318D52E66F8@philippewang.info> (raw)
In-Reply-To: <c12912350701151724s320b48a0udcff5af195c75386@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1208 bytes --]


On 16 janv. 07, at 02:24, Corey O'Connor wrote:

>
>
> On 1/15/07, Daniel Bünzli <daniel.buenzli@epfl.ch> 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.

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...

(I'll try when I have time...)

--
Philippe Wang

[-- Attachment #2: Type: text/html, Size: 1837 bytes --]

  reply	other threads:[~2007-01-16  7:59 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-07  0:25 Nicolas Cannasse
2007-01-07 12:33 ` [Caml-list] " Daniel Bünzli
2007-01-15 21:33   ` Corey O'Connor
2007-01-15 22:13     ` Daniel Bünzli
2007-01-16  1:24       ` Corey O'Connor
2007-01-16  7:58         ` Philippe Wang [this message]
2007-01-16 17:48           ` Corey O'Connor
2007-01-29 23:01             ` James Woodyatt
2007-01-30 18:40               ` Philippe Wang
2007-01-30 19:00                 ` Daniel Bünzli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=13C8AAD6-95A2-4080-A7C2-A318D52E66F8@philippewang.info \
    --to=lists@philippewang.info \
    --cc=caml-list@inria.fr \
    --cc=coreyoconnor@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).