On Wed, May 09, 2007 at 08:38:57AM +0000, Duncan Coutts wrote:
> On Wed, 2007-05-09 at 03:42 +0100, Frederik Eaton wrote:
> > Hello,
> >
> > I found that the distribution at this URL
> >
> > http://haskell.org/ghc/dist/6.6.1/ghc-6.6.1-x86_64-unknown-linux.tar.bz2
> >
> > failed to install. There were lots of "no such file or directory"
> > errors during 'cp' invocations I think. The i386 version sems to work
> > fine. Hope this isn't a mistake on my part.
>
> I found the opposite, that the i386 version had lots of errors with 'cp'
> invocations. It turned out that it was my fault as I was accidentally
> using the i386 .tar.tbz when the machine I was using was in fact an
> x86-64 running in 64bit mode.
>
> So check your uname -a, is it i686 or x86_64?
the 32 bit version of ghc works just fine on x86_64 if you modify it to
just pass '-m32' to all the tools. it would be nice if the driver script
checked uname -a and passed -m32 or -m64 as appropriate, so you can
trivially compile both 32 bit and 64 binaries on the same system. by
running 'setarch' beforehand.
also, ghc seems to produce noticibly faster 32 bit code than 64 bit
code.
John
--
John Meacham - ⑆repetae.net⑆john⑈
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs