
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

$ 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
participants (2)
-
Frederik Eaton
-
Simon Marlow