<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
Hi John,<br>
<br>
I'll take a look at trac #2965. You should be able to build the
7.0.1-rc2 tarball<br>
simply by unpacking it and following the instructions in the
README. (In short,<br>
configure, make then make install ought to work.)<br>
<br>
If it doesn't build properly out of the box, I'd be interested in
hearing about it.<br>
AFAIK, only 6.10.4 has been tested as bootstrap compiler for
7.0.1-rc2, although<br>
I expect 6.12.3 should work too. There is always the possibility of
some hiccup,<br>
however.<br>
<br>
Best Wishes,<br>
Greg<br>
<br>
<br>
On 11/11/10 6:17 AM, John Lato wrote:
<blockquote
cite="mid:AANLkTiky+g-rf+S3rvinV2gF5NU=rqk=y+mSrPP=7WxT@mail.gmail.com"
type="cite">
<div class="gmail_quote">
<div>Hi Greg,</div>
<div><br>
</div>
<div>Thanks very much for all your work on this, and Barney
Stratford too. This is great news. I'm doing a lot of
numerical work with Doubles at the moment, so progress is
quite welcome!</div>
<div><br>
</div>
<div>I can try building 7.0.1-RC using a 32-bit 6.12.3, although
probably not until the weekend. I'll let you know how it
goes.</div>
<div><br>
</div>
<div>If there are any special build instructions for this, maybe
you could update trac #2965 with details?</div>
<div> </div>
<div>Cheers,</div>
<div>John</div>
<div><br>
</div>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">From: Gregory Wright <<a
moz-do-not-send="true" href="mailto:gwright@antiope.com">gwright@antiope.com</a>><br>
<br>
Hi,<br>
<br>
I built ghc 7.0.1-rc2 yesterday 64-bit on Snow Leopard. Much
of the work<br>
in getting ghc to build 64-bit was done by Barney Stratford;
the MacPorts<br>
ghc 6.10.4 has built successfully in 64 bit mode for a number
of months.<br>
<br>
Until just a few weeks ago 6.12.x and HEAD wouldn't build
64-bit because<br>
of changes in ghci. These changes were in part to remove the
limitation<br>
that modules<br>
loaded by ghci had to be located below the 2 GB address
boundary.<br>
Unfortunately,<br>
they revealed code paths in ghc's Mach-O linker that were
never tested. (See<br>
bug #4318. Other bugs may be partial duplicates; the tickets
probably need<br>
to be examined to check which ones are distinct.)<br>
<br>
The good news is that the linker patches were done just in
time for 7.0.1.<br>
You should be all set to try the release candidates on Snow
Leopard 64-bit.<br>
<br>
I built my 7.0.1-rc2 using a 64 bit 6.10.4. My original
64-bit 6.10.4<br>
was bootstrapped<br>
using a 32-bit 6.10.4 compiled on Leopard. Reports of trouble
building the<br>
7.0.1 release candidates using a 32-bit bootstrap compiler
would be<br>
especially<br>
useful.<br>
<br>
Best Wishes,<br>
Greg<br>
<br>
<br>
On 11/9/10 12:48 PM, Brian Bloniarz wrote:<br>
> On 11/09/2010 02:36 AM, John Lato wrote:<br>
>> I was wondering if there is a status report anywhere
of progress towards<br>
>> making ghc compile 64-bit on Snow Leopard. There are
a few trac tickets<br>
>> that seem related:<br>
> I think <a moz-do-not-send="true"
href="http://hackage.haskell.org/trac/ghc/ticket/3472"
target="_blank">http://hackage.haskell.org/trac/ghc/ticket/3472</a><br>
> is related if you haven't seen it.<br>
><br>
> I'm not working on this, though I am interested in
helping enable<br>
> cross-compilation of GHC in general. I have been working
on one facet<br>
> though: hsc2hs. hsc2hs is one of barriers to
cross-compilation because<br>
> it requires compiling and running a .c file on the target
machine<br>
> (because it needs target-specific information like the
layout of<br>
> structures; GHC's mkDerivedConstants also has the same
problem).<br>
><br>
> I have a proof-of-concept patch which can do hsc2hs
codegeneration<br>
> without running anything. This uses the same approach
that autoconf<br>
> uses for cross-compilation. I'll try to post it within
the next few<br>
> days -- if anybody finds this approach interesting please
let me know.<br>
><br>
> Thanks,<br>
> -Brian<br>
</blockquote>
</div>
</blockquote>
</body>
</html>