Re: [Haskell-cafe] Re: Snow Leopard Breaks GHC

2009-09-27 Thread Gregory Collins
Tom Tobin korp...@korpios.com writes: On Tue, Sep 1, 2009 at 3:14 AM, Christian Maederchristian.mae...@dfki.de wrote: It seems, bootstrapping cabal went wrong. Does http://hackage.haskell.org/platform/2009.2.0.2/haskell-platform-2009.2.0.2-i386.dmg work? Installing the Haskell Platform

[Haskell-cafe] Re: Snow Leopard breaks GHC

2009-09-10 Thread Brian Sniffen
My problems were resolved by removing MacPorts from the system and adding 32-bit flags to runhaskell---apparently its zlib was interfering, as well as the runhaskell/runghc problems. Thank you for the advice, Brian On Wed, Sep 9, 2009 at 3:49 AM, Christian Maeder christian.mae...@dfki.de wrote:

[Haskell-cafe] Re: Snow Leopard breaks GHC

2009-09-09 Thread Christian Maeder
If compiling template haskell of Pandoc still does not work, please make a ticket as Simon wrote in: http://hackage.haskell.org/trac/ghc/ticket/2965#comment:24 Cheers Christian Christian Maeder wrote: Maybe runhaskell is used for template haskell? HTH Christian Brian Sniffen wrote: No,

[Haskell-cafe] Re: Snow Leopard breaks GHC

2009-09-04 Thread Brian Sniffen
Having edited the Haskell Platform's /usr/bin/ghc in place, most packages install fine. I'm still having trouble with Pandoc, even given the advice: Once cabal works, options --ld-option=-m32 (and also --gcc-option=-m32) may be used. These options may also be passed to ./Setup configure The

[Haskell-cafe] Re: Snow Leopard breaks GHC

2009-09-04 Thread Christian Maeder
Does adding -optc-m32 -opta-m32 -optl-m32 to /usr/bin/ghci as well not help? (as I've posted before) Cheers Christian Brian Sniffen wrote: Having edited the Haskell Platform's /usr/bin/ghc in place, most packages install fine. I'm still having trouble with Pandoc, even given the advice:

[Haskell-cafe] Re: Snow Leopard breaks GHC

2009-09-04 Thread Brian Sniffen
No, my ghci is now exec /Library/Frameworks/GHC.framework/Versions/610/usr/bin/ghc-6.10.4 -optc-m32 -opta-m32 -optl-m32 --interactive ${1+$@} and I still see the same result. Also, I have switched to --ld-options instead of --ld-option, which appears to have been a typo---cabal and setup never

[Haskell-cafe] Re: Snow Leopard breaks GHC

2009-09-04 Thread Christian Maeder
Maybe runhaskell is used for template haskell? HTH Christian Brian Sniffen wrote: No, my ghci is now exec /Library/Frameworks/GHC.framework/Versions/610/usr/bin/ghc-6.10.4 -optc-m32 -opta-m32 -optl-m32 --interactive ${1+$@} and I still see the same result. Also, I have switched to

[Haskell-cafe] Re: Snow Leopard breaks GHC

2009-09-04 Thread Christian Maeder
Or runghc form /usr/bin? Christian Maeder wrote: Maybe runhaskell is used for template haskell? HTH Christian Brian Sniffen wrote: No, my ghci is now exec /Library/Frameworks/GHC.framework/Versions/610/usr/bin/ghc-6.10.4 -optc-m32 -opta-m32 -optl-m32 --interactive ${1+$@} and I still

Re: [Haskell-cafe] Re: Snow Leopard breaks GHC

2009-09-04 Thread Tom Tobin
On Fri, Sep 4, 2009 at 10:38 AM, Christian Maederchristian.mae...@dfki.de wrote: Or runghc form /usr/bin? /usr/bin/runghc is a symlink to the same file as runhaskell. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

[Haskell-cafe] Re: Snow Leopard Breaks GHC

2009-09-03 Thread Christian Maeder
It might help to add -optc-m32 -opta-m32 -optl-m32 to /usr/bin/ghci, too. (TH uses ghci) Cheers Christian Brian Sniffen wrote: Having edit the Haskell Platform's /usr/bin/ghc in place, most packages install fine. I'm still having trouble with Pandoc, even given the advice: Once cabal

[Haskell-cafe] Re: Snow Leopard Breaks GHC

2009-09-01 Thread Christian Maeder
It seems, bootstrapping cabal went wrong. Does http://hackage.haskell.org/platform/2009.2.0.2/haskell-platform-2009.2.0.2-i386.dmg work? Once cabal works, options --ld-option=-m32 (and also --gcc-option=-m32) may be used. These options may also be passed to ./Setup configure C. Tom Tobin

[Haskell-cafe] Re: Snow Leopard Breaks GHC

2009-09-01 Thread Tom Tobin
On Tue, Sep 1, 2009 at 3:14 AM, Christian Maederchristian.mae...@dfki.de wrote: It seems, bootstrapping cabal went wrong. Does http://hackage.haskell.org/platform/2009.2.0.2/haskell-platform-2009.2.0.2-i386.dmg work? Installing the Haskell Platform package, combined with adding the previously

[Haskell-cafe] Re: Snow Leopard Breaks GHC

2009-08-31 Thread Christian Maeder
Dmitri Sosnik wrote: How I can tell gcc to generate 32 bit code? I've tried to set CFLAGS=-m32, but it doesn't work. (Flags do not work -- without Makefile) Pass -optc-m32 -opta-m32 -optl-m32 through ghc (as pointed out before) for gcc, the assembler as and the linker ld resp. (I think, gcc

[Haskell-cafe] Re: Snow Leopard Breaks GHC

2009-08-31 Thread David Leimbach
That works here just fine. Thanks! On Mon, Aug 31, 2009 at 4:02 AM, Christian Maeder christian.mae...@dfki.dewrote: Dmitri Sosnik wrote: How I can tell gcc to generate 32 bit code? I've tried to set CFLAGS=-m32, but it doesn't work. (Flags do not work -- without Makefile) Pass

[Haskell-cafe] Re: Snow Leopard Breaks GHC

2009-08-31 Thread Dmitri Sosnik
On 31/08/2009, at 9:02 PM, Christian Maeder wrote: Dmitri Sosnik wrote: How I can tell gcc to generate 32 bit code? I've tried to set CFLAGS=-m32, but it doesn't work. (Flags do not work -- without Makefile) Pass Stupid me :-) -optc-m32 -opta-m32 -optl-m32 Yep, it work. Thanks!

Re: [Haskell-cafe] Re: Snow Leopard Breaks GHC

2009-08-31 Thread Tom Tobin
On Mon, Aug 31, 2009 at 7:18 PM, Dmitri Sosnikdim...@gmail.com wrote: On 31/08/2009, at 9:02 PM, Christian Maeder wrote: Dmitri Sosnik wrote: How I can tell gcc to generate 32 bit code? I've tried to set CFLAGS=-m32, but it doesn't work. (Flags do not work -- without Makefile) Pass