Cygwin version
I want a _real_ cygwin version of darcs. The non-deterministic pseudo-cygwin *nix/Windows hybrid currently available has just too many problems integrating into cygwin, that I want to use as my TeXing and minor coding environment. A real cygwin version of darcs would seem to depend on a real cygwin version of GHC. Is there any easy way to compile one? Otherwise I may have to abandon darcs (and Haskell software in general) for Mercurial. (Thanks to the over-bearing cabal and resulting hsc2hs etc. build problems with conventional Makefiles, I have already pretty much already abandoned my own Haskell projects.) -- Stop Gnomes and other pests! Purchase Windows today! ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Re: Cygwin version
tuomov: I want a _real_ cygwin version of darcs. The non-deterministic pseudo-cygwin *nix/Windows hybrid currently available has just too many problems integrating into cygwin, that I want to use as my TeXing and minor coding environment. A real cygwin version of darcs would seem to depend on a real cygwin version of GHC. Is there any easy way to compile one? Otherwise I may have to abandon darcs (and Haskell software in general) for Mercurial. (Thanks to the over-bearing cabal and resulting hsc2hs etc. build problems with conventional Makefiles, I have already pretty much already abandoned my own Haskell projects.) Here is a complete, from-scratch, log of all you need to build GHC using Cygwin, kindly provided by Claus Reinke. http://hackage.haskell.org/trac/ghc/wiki/Building/Windows#AWindowsbuildlogusingCygwin ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Re: Cygwin version
On 2009-03-08, Don Stewart d...@galois.com wrote: Here is a complete, from-scratch, log of all you need to build GHC using Cygwin, kindly provided by Claus Reinke. http://hackage.haskell.org/trac/ghc/wiki/Building/Windows#AWindowsbuildlogusingCygwin These appear to be instructions to build a Windows version _using Cygwin_. I wanted a _real_ Cygwin version of GHC that builds Cygwin binaries, providing Cygwin POSIX functionality, etc. -- In 1995, Linux was almost a bicycle; an alternative way of live to the Windows petrol beasts that had to be taken to the dealer for service. By 2008, Linux has bloated into a gas-guzzler, and local vendors and artisans have had to yield to all under one roof big box hypermarkets. ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Re: Cygwin version
On Sun, Mar 08, 2009 at 08:24:34PM +, Tuomo Valkonen wrote: On 2009-03-08, Don Stewart d...@galois.com wrote: Here is a complete, from-scratch, log of all you need to build GHC using Cygwin, kindly provided by Claus Reinke. http://hackage.haskell.org/trac/ghc/wiki/Building/Windows#AWindowsbuildlogusingCygwin These appear to be instructions to build a Windows version _using Cygwin_. I wanted a _real_ Cygwin version of GHC that builds Cygwin binaries, providing Cygwin POSIX functionality, etc. if you follow those steps, but then don't override the host in the ./configure step to just let it pick up the cygwin environment will it work properly? John -- John Meacham - ⑆repetae.net⑆john⑈ ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Re: Cygwin version
On 2009-03-08, John Meacham j...@repetae.net wrote: if you follow those steps, but then don't override the host in the ./configure step to just let it pick up the cygwin environment will it work properly? John No: Configuring extensible-exceptions-0.1.0.0... cabal-bin.exe: Cannot find the program 'ghc' at '/c/bin/ghc-6.10.1.20090308/bin/ghc' or on the path 'ldd libraries/cabal-bin.exe' finds no cygwin dependencies; everything points to /c/WINDOWS/system32. I presume that the mingw-ghc used the include mingw gcc, not cygwin's gcc. Indeed, I tried deleting that file, and got: ghc.exe: could not execute: C:\bin\ghc-6.10.1.20090308\gcc It doesn't seem like it will build cygwin programs. -- Stop Gnomes and other pests! Purchase Windows today! ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Re: Loop unrolling + fusion ?
On 07/03/2009, at 09:26, Claus Reinke wrote: My preferred spec would be roughly {-# NOINLINE f #-} as now {-# INLINE f #-}works as now, which is for non-recursive f only (might in future be taken as go-ahead for analysis-based recursion unfolding) {-# INLINE f PEEL n #-} inline calls *into* recursive f (called loop peeling for loops) {-# INLINE f UNROLL m #-} inline recursive calls to f *inside* f (called loop unrolling for loops) {-# INLINE f PEEL n UNROLL m #-} combine the previous two The problem here is that this only works for directly recursive functions which I, for instance, don't normally use in high- performance code. Most of my loops are pipelines of collective combinators like map, filter, fold etc. because these are the ones that can be fused automatically. Unless I'm misunderstanding something, this approach doesn't handle such cases. Roman ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users