|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Troubleshooting the GHC build
|
|
|
|
|
|
|
... | ... | @@ -476,6 +480,7 @@ uses this path to invoke `gcc`) is a Windows program and won't |
|
|
understand a Cygwin path. For example, you want to say something like `--with-gcc=c:/mingw/bin/gcc.exe` and *not* `--with-gcc=/cygdrive/c/mingw/bin/gcc.exe` or `--with-gcc=/mingw/bin/gcc.exe`. If you get this wrong, the failure might come with no error message whatsoever. GHC simply fails silently when first invoked,
|
|
|
typically leaving you with this:
|
|
|
|
|
|
|
|
|
```wiki
|
|
|
make[4]: Leaving directory `/cygdrive/e/ghc-stage1/ghc/rts/gmp'
|
|
|
../../ghc/compiler/ghc-inplace -optc-mno-cygwin -optc-O
|
... | ... | |