recommended build system

Simon Marlow simonmar at
Fri Dec 9 04:23:16 EST 2005

The nightly binary snapshots for x86/Linux are currently hard-wired to
use gcc-3.4.3, because I occasionally change gcc versions to make sure
things are still working.  I'll change it back to gcc.  To workaround it
you can add '-pgmc gcc' to the command line.


On 09 December 2005 03:26, Frederik Eaton wrote:

> Does this depend on a certain version of gcc?
> $ ghc -M --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.20051207: could not execute: gcc-3.4.3
> I'm wondering why it is trying to execute something which isn't in my
> path...
> Frederik
> On Mon, Dec 05, 2005 at 10:51:19AM -0000, 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
>>> -----Original Message-----
>>> From: glasgow-haskell-users-bounces at
>>> [mailto:glasgow-haskell-users- bounces at] On Behalf Of
>>> Frederik Eaton 
>>> Sent: 04 December 2005 00:46
>>> To: glasgow-haskell-users at
>>> 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
>>> compilation necessary. This is important to me because "ghc --make"
>>> and cabal currently (AFAICT) will always relink an executable even
>>> when it is not necessary to do so; thus if I have a project with a
>>> bunch of libraries and executables, the cost of making a small
>>> modification and recompiling is very high, and it becomes hard to
>>> maintain focus on my projects after the initial design phase. I've
>>> just been playing around with GNU coreutils and was impressed with
>>> how well the build system works, and how fast the recompilation
>>> goes. 
>>> Anyway, the system that darcs uses seems to work pretty well,
>>> should I copy that, or do people recommend other alternatives?
>>> Frederik
>>> _______________________________________________
>>> Glasgow-haskell-users mailing list
>>> Glasgow-haskell-users at
>> _______________________________________________
>> Glasgow-haskell-users mailing list
>> Glasgow-haskell-users at
> _______________________________________________
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users at

More information about the Glasgow-haskell-users mailing list