Re: using ghc with make

2006-04-17 Thread Neil Mitchell
Hi, > The compile / fix compiler errors cycle is an important part > of the development process for me, and so I want > recompilation to go as quickly as possible. If you are not using any GHC specific features, then I find that using Hugs for compiler errors, then once Hugs is happy moving on to

Re: using ghc with make

2006-04-17 Thread John Meacham
On Mon, Apr 17, 2006 at 10:57:32PM +0100, Frederik Eaton wrote: > I have two examples of projects that use Makefiles, darcs and jhc, but > they both appear to hand-code the list of dependencies for > executables. The "-M" option to ghc should let us do this > automatically, but either because of a

using ghc with make

2006-04-17 Thread Frederik Eaton
Hi all, I have a project which currently uses Cabal, and I would like to switch to using a plain Makefile. I have two examples of projects that use Makefiles, darcs and jhc, but they both appear to hand-code the list of dependencies for executables. The "-M" option to ghc should let us do this a

Building ghc stages

2006-04-17 Thread Marc Weber
I've tried building ghc with make all; make install But when compiling one of my programs I get GHC stage restriction: `view' is used in a top-level splice, and must be imported, not defined locally What did I do wrong? Marc ___ Glasgow-haskell-users