ANN: ghc 6.8.2 from MacPorts
Christian Maeder
Christian.Maeder at dfki.de
Thu Mar 13 05:25:25 EDT 2008
Gregory Wright wrote:
> Leopard/ppc are out of luck until for now, for reason discussed earlier
> on this list.
I was able to build ghc 6.8.2 on Leopard/ppc using the patch from
http://hackage.haskell.org/trac/ghc/ticket/1958
(also below)
Could you try if it works for you, too?
Cheers Christian
+++ ghc-6.8.2/compiler/nativeGen/PprMach.hs
@@ -657,7 +657,7 @@
SLIT(".section .data\n\t.align 4"))
,IF_ARCH_x86_64(IF_OS_darwin(SLIT(".const_data\n.align 3"),
SLIT(".section .data\n\t.align 8"))
- ,IF_ARCH_powerpc(IF_OS_darwin(SLIT(".const_data\n.align 2"),
+ ,IF_ARCH_powerpc(IF_OS_darwin(SLIT(".text\n.align 2"),
SLIT(".data\n\t.align 2"))
,)))))
More information about the Glasgow-haskell-users
mailing list