$ 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
> 
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to