<div dir="ltr"><div><div>Trying to build 7.6.3-x86_64-unknown-linux under cygwin.<br><br><span style="font-family:courier new,monospace">$ ./configure <br>checking for path to top of build tree... ./configure: line 2121: utils/ghc-pwd/dist-install/build/tmp/ghc-pwd: cannot execute binary file<br>
configure: error: cannot determine current directory</span><br><br></div>Not sure it is a libgmp issue, because linking doesn't help:<br><br><span style="font-family:courier new,monospace">$ ln -s /usr/lib/libgmp.dll.a /usr/lib/libgmp.so.3</span><br>
<br></div>Any ideas what is going on and how to fix this?<br></div>