Poor array behaviour

2009-12-22 Thread Herk, Robert van
Hi all, I stumbled upon something odd with respect to arrays. I know about GHC not doing card marking and traversing whole arrays one each GC for each array with alterations, but still I don't understand the behaviour. The situation is like this. I am building a compiler. This compiler manipula

Re: Weird warnings when using ViewPatterns

2009-12-22 Thread Bas van Dijk
On Mon, Dec 21, 2009 at 10:17 PM, Bas van Dijk wrote: > On Mon, Dec 21, 2009 at 9:03 PM, Robert Greayer wrote: >> There's been some improvement at least in 6.12.1, see: >> http://hackage.haskell.org/trac/ghc/ticket/2395 > > Thanks for pointing me to the ticket! > > I'm emerging ghc-6.12.1 right n

Re: GHC-6.12.1: broken configure

2009-12-22 Thread Jens Petersen
2009/12/19 Kirill A. Shutemov : > I want to build ghc for i586-alt-linux-gnu. Why? :) > Why do not use config.guess to guess correct host/target/build > instead of reinvent wheel? While I sympathize (I gave up long ago trying to use host/target/build with ghc - we use them by default in Fedora)

Re: x64 linux, x86 program and libgmp shared library

2009-12-22 Thread Christian Maeder
Christian Maeder schrieb: > I think, libgmp.so* should be available under /usr/lib64/ if you use ghc. > > There are rpm packages, i.e. SuSE > gmp-4.2.1-58 > gmp-devel-4.2.1-58 > > In order to create binaries with libgmp being statically linked in, it > is possible to copy libgmp.a into ghc'c

Re: x64 linux, x86 program and libgmp shared library

2009-12-22 Thread Christian Maeder
I think, libgmp.so* should be available under /usr/lib64/ if you use ghc. There are rpm packages, i.e. SuSE gmp-4.2.1-58 gmp-devel-4.2.1-58 In order to create binaries with libgmp being statically linked in, it is possible to copy libgmp.a into ghc'c libdir so that those binaries can run on s

Re: cabal-install-0.8 final testing

2009-12-22 Thread Duncan Coutts
On Mon, 2009-12-21 at 11:34 +, Gracjan Polak wrote: > Duncan Coutts googlemail.com> writes: > > > if flag(test) > > Buildable: True > > Build-depends: base<5, bytestring, HUnit, directory > > else > > Buildable: False > > > > Is this solution good for the time being? I