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
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@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