recommended build system

2005-12-03 Thread Frederik Eaton
Hi all, I'm looking for a build system for my projects which will correctly handle all of ghc's dependencies. I.e. every time I ask it to rebuild an output file, it will only do the minimum amount of compilation necessary. This is important to me because "ghc --make" and cabal currently (AFAICT) w

Re: recommended build system

2005-12-05 Thread Malcolm Wallace
Frederik Eaton <[EMAIL PROTECTED]> writes: > I'm looking for a build system for my projects which will correctly > handle all of ghc's dependencies. I.e. every time I ask it to rebuild > an output file, it will only do the minimum amount of compilation > necessary. 'hmake' is pretty good at what

RE: recommended build system

2005-12-05 Thread Simon Peyton-Jones
: glasgow-haskell-users@haskell.org | Subject: recommended build system | | Hi all, | | I'm looking for a build system for my projects which will correctly | handle all of ghc's dependencies. I.e. every time I ask it to rebuild | an output file, it will only do the minimum amount of c

Re: recommended build system

2005-12-05 Thread Frederik Eaton
Go figure... I suppose that fixes Cabal too, now. Thanks, Frederik On Mon, Dec 05, 2005 at 10:51:19AM -, Simon Peyton-Jones wrote: > Simon fixed this recently. The GHC HEAD build will not re-link with > --make if none of the object files have changed. > > Simon ___

Re: recommended build system

2005-12-08 Thread Frederik Eaton
> | -Original Message- > | From: [EMAIL PROTECTED] > [mailto:glasgow-haskell-users- > | [EMAIL PROTECTED] On Behalf Of Frederik Eaton > | Sent: 04 December 2005 00:46 > | To: glasgow-haskell-users@haskell.org > | Subject: recommended build system > | > | Hi all, > | &

RE: recommended build system

2005-12-09 Thread Simon Marlow
with >> --make if none of the object files have changed. >> >> Simon >> >>> -Original Message- >>> From: [EMAIL PROTECTED] >>> [mailto:glasgow-haskell-users- [EMAIL PROTECTED] On Behalf Of >>> Frederik Eaton >>> Sent: 04 December 2

Re: recommended build system

2005-12-09 Thread Frederik Eaton
hanged. > >> > >> Simon > >> > >>> -Original Message- > >>> From: [EMAIL PROTECTED] > >>> [mailto:glasgow-haskell-users- [EMAIL PROTECTED] On Behalf Of > >>> Frederik Eaton > >>> Sent: 04 December 2005 00:4

RE: recommended build system

2005-12-09 Thread Simon Marlow
if none of the object files have changed. >>>> >>>> Simon >>>> >>>>> -Original Message- >>>>> From: [EMAIL PROTECTED] >>>>> [mailto:glasgow-haskell-users- [EMAIL PROTECTED] On Behalf Of >>>>> F

Re: recommended build system

2005-12-09 Thread Frederik Eaton
: [EMAIL PROTECTED] > >>> [mailto:glasgow-haskell-users- [EMAIL PROTECTED] On Behalf Of > >>> Frederik Eaton > >>> Sent: 04 December 2005 00:46 > >>> To: glasgow-haskell-users@haskell.org > >>> Subject: recommended build system > >

RE: recommended build system

2005-12-12 Thread Simon Marlow
On 10 December 2005 05:08, Frederik Eaton wrote: > $ ghc -pgmc gcc --make Matrix.hs -o matrix > Chasing modules from: Matrix.hs > [1 of 2] Compiling Fu.Prepose ( Fu/Prepose.hs, Fu/Prepose.o ) > ghc-6.5.20051208: could not execute: gcc-3.4.3 > > Hard-coding things is ... not ... nice ... Yo

Re: recommended build system

2005-12-12 Thread Frederik Eaton
$ ghc -pgml gcc -pgmP "gcc -E -undef -traditional" -pgmc gcc --make Matrix.hs -o matrix Chasing modules from: Matrix.hs [1 of 2] Compiling Fu.Prepose ( Fu/Prepose.hs, Fu/Prepose.o ) ghc-6.5.20051208: could not execute: gcc-3.4.3 Maybe a more informative error message would be a useful featu

RE: recommended build system

2005-12-12 Thread Simon Marlow
On 12 December 2005 18:49, Frederik Eaton wrote: > $ ghc -pgml gcc -pgmP "gcc -E -undef -traditional" -pgmc gcc --make > Matrix.hs -o matrix Chasing modules from: Matrix.hs > [1 of 2] Compiling Fu.Prepose ( Fu/Prepose.hs, Fu/Prepose.o ) > ghc-6.5.20051208: could not execute: gcc-3.4.3 > > M

Re: recommended build system

2005-12-12 Thread Frederik Eaton
That made it work, thanks. Frederik On Mon, Dec 12, 2005 at 07:01:42PM -, Simon Marlow wrote: > On 12 December 2005 18:49, Frederik Eaton wrote: > > > $ ghc -pgml gcc -pgmP "gcc -E -undef -traditional" -pgmc gcc --make > > Matrix.hs -o matrix Chasing modules from: Matrix.hs > > [1 of 2] Comp