
Also /usr/bin/ghci, /usr/bin/runghc, /usr/bin/runhaskell to patch up all the holes. There may be others, also. Here is a reference to the original thread where someone found out SL broke GHC and then worked through temporarily resolving it: http://old.nabble.com/Snow-Leopard-Breaks-GHC-td25198347.html -Ross On Nov 15, 2009, at 8:03 AM, Luca Ciciriello wrote:
Thanks a lot Christophe. This solve my problem.
Luca.
On Nov 15, 2009, at 1:49 PM, alpheccar wrote:
Hi,
Change your /usr/bin/ghc to
#!/bin/sh
exec /Library/Frameworks/GHC.framework/Versions/610/usr/lib/ghc-6.10.4/ghc -optc-m32 -opta-m32 -optl-m32 -B/Library/Frameworks/GHC.framework/Versions/610/usr/lib/ghc-6.10.4/. -dynload wrapped ${1+"$@"}
The options -optc-m32 -opta-m32 -optl-m32 must be added.
Christophe.
Hi All. I think this is a not new question, but probably a missed it.
On my MacOS X 10.5 (32 bit) I use GHC 6.10.4 (installed by Mac package GHC-6.10.4-i386.pkg) to build some halkell programs and all is fine. Yesterday I've updated the system to MacOS X 10.6 (64 bit) and now when I try to build the same programs I get the errors:
/var/folders/vr/vrW2wwvtFKScalkhVEWujE+++TI/-Tmp-/ghc1613_0/ghc1613_0.s:1167:0: 32-bit absolute addressing is not supported for x86-64
/var/folders/vr/vrW2wwvtFKScalkhVEWujE+++TI/-Tmp-/ghc1613_0/ghc1613_0.s:1167:0: cannot do signed 4 byte relocation
/var/folders/vr/vrW2wwvtFKScalkhVEWujE+++TI/-Tmp-/ghc1613_0/ghc1613_0.s:1170:0: 32-bit absolute addressing is not supported for x86-64
/var/folders/vr/vrW2wwvtFKScalkhVEWujE+++TI/-Tmp-/ghc1613_0/ghc1613_0.s:1170:0: cannot do signed 4 byte relocation
Is there any solution to continue to use the installed GHC on the new 64 bit system?
Thanks in advance for any answer.
Luca _______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
_______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users