<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Yes, with these steps and also later
with the correction from Kyle Van Berendonck (
<a class="moz-txt-link-freetext" href="http://www.mail-archive.com/ghc-devs@haskell.org/msg02096.html">http://www.mail-archive.com/ghc-devs@haskell.org/msg02096.html</a> )
it compiles on Windows too.<br>
<br>
Thanks, Nicu<br>
<br>
Am 23.08.2013 23:18, schrieb Austin Seipp:<br>
</div>
<blockquote
cite="mid:CAEs96n1=_ebB0i8TNZ_k2G_HbaTaFwb6Du8Bo=tjH1MftuCByw@mail.gmail.com"
type="cite">
<div dir="ltr">Please update your GHC repository tree, then run:
<div><br>
</div>
<div>./sync-all get</div>
<div><br>
</div>
<div>There was a bug I fixed today where 'msys' wasn't correctly
detected as Windows, so it skipped the ghc-tarballs
repository.</div>
<div><br>
</div>
<div>Then make sure you do './sync-all pull' to update
everything else (there were other changes that require
syncing.)</div>
<div><br>
</div>
<div>Hopefully that helps.</div>
<div><br>
</div>
</div>
<div class="gmail_extra">
<br>
<br>
<div class="gmail_quote">On Fri, Aug 23, 2013 at 4:13 PM,
Niculae Ionita <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:nicu@ionita.at" target="_blank">nicu@ionita.at</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br>
<br>
I'm new to GHC Dev and I'm trying to build GHC 7.7 (the repo
is about 9 days old) on a Windows machine with mingw32. I
followed the very helpful article for newcomers to GHC dev (
<a moz-do-not-send="true"
href="http://ghc.haskell.org/trac/ghc/wiki/Newcomers#"
target="_blank">http://ghc.haskell.org/trac/ghc/wiki/Newcomers#</a>
) and up to configure it was easy.<br>
<br>
Now I get a problem with configure, the last few output
lines are:<br>
<br>
GHC build : i386-unknown-mingw32<br>
GHC host : i386-unknown-mingw32<br>
GHC target : i386-unknown-mingw32<br>
configure: Building in-tree ghc-pwd<br>
checking for path to top of build tree... j:/ghc<br>
checking for gcc... j:/ghc/inplace/mingw/bin/gcc.exe<br>
checking whether the C compiler works... no<br>
configure: error: in `/j/ghc':<br>
configure: error: C compiler cannot create executables<br>
See `config.log' for more details<br>
<br>
From config.log it's clear that
j:/ghc/inplace/mingw/bin/gcc.exe is missing (actually
already the bin is missing). My gcc is in /mingw/bin, which
is in PATH, but even if I try with the option<br>
<br>
--with-gcc=/mingw/bin/gcc<br>
<br>
I get the same error.<br>
<br>
So I was looking in the configure script and found out that,
for mingw32 and i386, gcc must be under
$hardtop/inplace/mingw/bin/, and if not, there are commands
to unpack all tools from tar files like
ghc-tarballs/mingw/binutils*.tar.lzma and a few others.<br>
<br>
The point is, I don't have the subdirectory ghc-tarballs
under my ghc directory.<br>
<br>
Now, my questions:<br>
<br>
1. Are there any reasons to not use the building tools
coming from the mingw installation, and use the dedicated
ones?<br>
<br>
2. Where could I find those tarballs? Did I miss something
when updated the repositories?<br>
<br>
Thanks,<br>
Nicu<br>
<br>
_______________________________________________<br>
ghc-devs mailing list<br>
<a moz-do-not-send="true" href="mailto:ghc-devs@haskell.org"
target="_blank">ghc-devs@haskell.org</a><br>
<a moz-do-not-send="true"
href="http://www.haskell.org/mailman/listinfo/ghc-devs"
target="_blank">http://www.haskell.org/mailman/listinfo/ghc-devs</a><br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr">Regards,<br>
Austin - PGP: 4096R/0x91384671</div>
</div>
</blockquote>
<br>
</body>
</html>