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

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

On 1/15/07, Philippe Wang <lists@philippewang.info> wrote:
>
>
> 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...
>


Actually, I have no idea. That'd be great if it did.

-- 
-Corey O'Connor

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

  reply	other threads:[~2007-01-16 17:48 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
2007-01-16 17:48           ` Corey O'Connor [this message]
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=c12912350701160948w10a5861ayfe34398143ac6465@mail.gmail.com \
    --to=coreyoconnor@gmail.com \
    --cc=caml-list@inria.fr \
    /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).