From: Sven Luther <sven.luther@wanadoo.fr>
To: David McClain <dmcclain1@mindspring.com>
Cc: caml <caml-list@inria.fr>
Subject: Re: [Caml-list] 64-bit OCaml?
Date: Sat, 6 Nov 2004 10:41:03 +0100 [thread overview]
Message-ID: <20041106094103.GA8507@pegasos> (raw)
In-Reply-To: <00dd01c4c3b5$70525f80$0401000a@dylan>
On Fri, Nov 05, 2004 at 09:02:11PM -0700, David McClain wrote:
> Hi,
>
> I just obtained a new iMac G5 here. My cursory understanding is that this is
> a 64 bit core processor. However, when I attempted to run config for
> rebuilding the OCaml system, it reports a 32 bit system. What can or must I
> do to coax OCaml to become a 64 bit system for this processor?
This one i can reply, well, sort off.
The G5, which is really the ppc970 cpu from ibm, is a derivative of the power3
and power4 ibm processors. As thus, it can run both 32bit and 64bit code.
The you need to know what operating system you are running on it, but you
probably run mac os x, but in the linux case, you can have both a 32bit kernel
or a 64bit kernel. Of the linux distributions out there, not all support a
64bit kernel. on top of a 32bit kernel, you can run a 32bit userland only,
while on a 64bit kernel, you can run a 32bit or a true 64bit userland.
So, to take advantage of the 64bitness of the ppc970, you need a 64bit kernel,
and either a pure 64bit userland, or a dual userland, that is one which is
able to run both 32bit and 64bit code, but which is mostly 32bit usually.
Now, and here i believe it applies also to the mac os x case, in all case that
support 64bit userland, the actual programs, and among them ocaml, need to :
1) detect that they are on a 64bit capable system.
2) take advantage of the 64bitness of the system.
In the ocaml case, 1) should be rather easy, an adaptation of the configure
scripts probably only, as ocaml already supports 64bit. 2) is needs more work
though, and i don't believe there is already ppc 64bit support.
Friendly,
Sven LUther
next prev parent reply other threads:[~2004-11-06 9:23 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-06 4:02 David McClain
2004-11-06 5:05 ` [Caml-list] " David Brown
2004-11-06 9:43 ` Sven Luther
2004-11-06 5:15 ` David Brown
2004-11-06 9:41 ` Sven Luther [this message]
2004-11-06 10:06 ` Xavier Leroy
2004-11-06 12:16 ` Sven Luther
2004-11-06 15:47 ` John Carr
2004-11-07 20:18 ` Francis Dupont
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=20041106094103.GA8507@pegasos \
--to=sven.luther@wanadoo.fr \
--cc=caml-list@inria.fr \
--cc=dmcclain1@mindspring.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