Ah, I've forgotten to mention that the environment variable MSYSTEM must be set to MINGW before starting the shell as is in mingw_shell.bat: set MSYSTEM=MINGW.
msys2_shell.bat set it to MSYS thus making it answer "msys". On Wed, Oct 2, 2013 at 1:59 AM, Simon Peyton-Jones <[email protected]>wrote: > http://sourceforge.net/projects/msys2/ is *much* better than stock msys. > I've successfully built ghc HEAD quite recently (a month ago or so) using > it.**** > > ** ** > > Interesting! There appears to be about zero documentation, but I unpacked > the tar ball (which has pre-built binaries), put it in c:/msys32, added > c:/mys32/bin to my PATH, and tried.**** > > ** ** > > Starts well, but two problems.**** > > ** ** > > **· **I get lots of this (non-fatally):**** > > perl: warning: Setting locale failed.**** > > perl: warning: Please check that your locale settings:**** > > LC_ALL = (unset),**** > > LANG = "ENG"**** > > are supported and installed on your system.**** > > perl: warning: Falling back to the standard locale ("C").**** > > ** ** > > **· **But then I get this error which brings things to a halt:**** > > checking for gfind... no**** > > checking for find... /usr/bin/find**** > > checking for sort... /usr/bin/sort**** > > checking for GHC version date... inferred 7.7.20131001**** > > checking for ghc... /cygdrive/c/fp/HP-2013.2.0.0/bin/ghc**** > > checking version of ghc... 7.6.3**** > > GHC path canonicalised to: /cygdrive/c/fp/HP-2013.2.0.0/bin/ghc**** > > checking build system type... Invalid configuration `i686-pc-msys': system > `msys' not recognized**** > > configure: error: /bin/sh ./config.sub i686-pc-msys failed**** > > ** ** > > Does anyone have ideas for fixing this? Kyra, how did you get past these? > **** > > ** ** > > Simon**** > > ** ** > > ** ** > > *From:* Kyra Alex [mailto:[email protected]] > *Sent:* 01 October 2013 19:05 > *To:* Simon Peyton-Jones > *Cc:* Edsko de Vries; [email protected] > *Subject:* Re: Make spins with THREADS>1 on Win 7**** > > ** ** > > http://sourceforge.net/projects/msys2/ is *much* better than stock msys. > I've successfully built ghc HEAD quite recently (a month ago or so) using > it.**** > > ** ** > > On Tue, Oct 1, 2013 at 7:24 PM, Simon Peyton-Jones <[email protected]> > wrote:**** > > Yes; it appears that in the current MSYS release, 'make -jn' goes into an > infinite loop. This is very depressing. I do not know a fix. > > If you google around and find a fix, do tell us. Currently I have to use > THREADS=1 all the time > > Simon**** > > > | -----Original Message----- > | From: ghc-devs [mailto:[email protected]] On Behalf Of Edsko > | de Vries > | Sent: 01 October 2013 16:21 > | To: [email protected] > | Subject: Make spins with THREADS>1 on Win 7 > | > | Hi all, > | > | Trying to get a build going on Win 7. On both the 32-bit and the > | 64-bit version running 'sh validate' stalls at > | > | "inplace/bin/mkdirhier" utils/touchy/dist/build/tmp//. > | > | At this point nothing happens, other than that I seem to have 100% CPU > | usage; 'ps' only shows two make processes, but no further > | subprocesses. Not sure what's going on here. Running 'sh validate > | --no-clean' after killing both make processes at this point stalls at > | the same point; running it with THREADS=1 seems to resolve the issue. > | > | Anybody any idea what might be going on? > | > | Edsko > | _______________________________________________ > | ghc-devs mailing list > | [email protected] > | http://www.haskell.org/mailman/listinfo/ghc-devs > _______________________________________________ > ghc-devs mailing list > [email protected] > http://www.haskell.org/mailman/listinfo/ghc-devs**** > > ** ** >
_______________________________________________ ghc-devs mailing list [email protected] http://www.haskell.org/mailman/listinfo/ghc-devs
