
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
Maybe a more informative error message would be a useful feature as well.
Sorry, also add -pgma gcc. (or wait for tonight's build, which won't have gcc-3.4.3 hardwired). If it still complains, send us the -v output. Cheers, Simon
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

That made it work, thanks. Frederik On Mon, Dec 12, 2005 at 07:01:42PM -0000, 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] 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.
Sorry, also add -pgma gcc. (or wait for tonight's build, which won't have gcc-3.4.3 hardwired).
If it still complains, send us the -v output.
Cheers, Simon
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