recommended build system

Frederik Eaton frederik at a5.repetae.net
Mon Dec 12 13:49:05 EST 2005


$ 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 feature as
well.

Frederik

On Mon, Dec 12, 2005 at 02:28:34PM -0000, Simon Marlow wrote:
> 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 ...
> 
> You also need -pgml gcc, and probably -pgmP "gcc -E -undef
> -traditional".
> 
> Cheers,
> 	Simon
> 


More information about the Glasgow-haskell-users mailing list