gcc on Windows

Simon Peyton-Jones simonpj
Wed Oct 2 13:48:09 UTC 2013

Dear ghc devs

My Windows build failed as below, because it couldn't find gcc.  But this is the ONLY reason we need gcc!  GHC and its libraries all built without gcc, perhaps because we use ghc itself to compile C files, and ghc has a C compiler in its belly (no PATH reqd).

Question: would it be possible to use the same technique to compile timeout, so that we don't need to install gcc separately?

This is on Windows.



Building timeout-1...
Preprocessing executable 'timeout' for timeout-1...
Setup.exe: The program gcc is required but it could not be found.
Makefile:39: recipe for target 'install-inplace/bin/timeout' failed
make[3]: *** [install-inplace/bin/timeout] Error 1
make[3]: Leaving directory '/cygdrive/c/code/HEAD/testsuite/timeout'
../mk/test.mk:234: recipe for target '../timeout/install-inplace/bin/timeout.exe' failed
make[2]: *** [../timeout/install-inplace/bin/timeout.exe] Error 2
make[2]: Leaving directory '/cygdrive/c/code/HEAD/testsuite/tests'
../mk/test.mk:253: recipe for target 'fast' failed
make[1]: *** [fast] Error 2
make[1]: Leaving directory '/cygdrive/c/code/HEAD/testsuite/tests'
Makefile:112: recipe for target 'test' failed
make: *** [test] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20131002/a77f53a9/attachment.html>

More information about the ghc-devs mailing list