Building GHC on Windows
Jan Stolarek
jan.stolarek at p.lodz.pl
Thu Mar 13 09:18:48 UTC 2014
I'm trying to build GHC on 64-bit Windows 7. I installed Cygwin, GHC and cloned the main repo but
when I run configure I get this error:
configure: Building in-tree ghc-pwd
checking for path to top of build tree... cygwin warning:
MS-DOS style path detected: C:/cygwin64/home/tewi/head
Preferred POSIX equivalent is: /home/tewi/head
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
C:/cygwin64/home/tewi/head
checking for gcc... C:/cygwin64/home/tewi/head/inplace/mingw/bin/gcc.exe
checking whether the C compiler works... no
configure: error: in `/home/tewi/head':
configure: error: C compiler cannot create executables
See `config.log' for more details
I have gcc installed under Cygwin, but for some reason ./configure is looking for an in-tree
compiler. I tried passing --with-gcc=/usr/bin/gcc to configure but with no result. Help?
Janek
More information about the ghc-devs
mailing list