[Fedora-haskell] x86_64 packages

Simon Marlow simonmar at microsoft.com
Sat Jul 23 16:44:38 EDT 2005


GHCi isn't supported on x86_64 in version 6.4 (the soon-to-be-relesaed
6.4.1 will have initial support for GHCi, though).
 
When using the i386 build, you also need to pass additional options to
ghc:
 
  $ ghc -opta-m32 -optc-m32 -optl-m32 ...
 
this tells gcc to generate i386 code when invoked by ghc.
 
Cheers,
    Simon

________________________________

From: fedora-haskell-bounces at haskell.org
[mailto:fedora-haskell-bounces at haskell.org] On Behalf Of James Cheney
Sent: 22 July 2005 16:59
To: fedora-haskell at haskell.org
Subject: [Fedora-haskell] x86_64 packages


Hi,

I am running FC3/x86_64.  When I install the ghc(64)-6.4-7.x86_64
packages, ghc runs fine in batch mode, but ghci fails to work with the
following message:

$ ghci
ghc-6.4: not built for interactive use

On the other hand, when I install the i386 packages, ghci works fine but
ghc compilation fails at the assemby step:

[jcheney at dhcp-2-148]$ ghc Main.hs -o main
/tmp/ghc4976.s: Assembler messages:
/tmp/ghc4976.s:67: Error: suffix or operands invalid for `push'
/tmp/ghc4976.s:119: Error: suffix or operands invalid for `push'
/tmp/ghc4976.s:163: Error: suffix or operands invalid for `push'
[etc...]

Is this a known issue?  I'll try building from the source to see what
happens.

Thanks,
--James

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org//pipermail/fedora-haskell/attachments/20050723/b82f71a4/attachment.htm


More information about the Fedora-haskell mailing list