15 Nov 17:42
Re: 32 to 64 bit problem
Ross Mellgren <rmm-haskell <at> z.odi.ac>
2009-11-15 16:42:09 GMT
2009-11-15 16:42:09 GMT
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:
-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/shexec /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+"$ <at> "}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 relocationIs 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 <at> haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Glasgow-haskell-users mailing list
Glasgow-haskell-users <at> haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
_______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users <at> haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
RSS Feed