[GHC] #12171: cygwin - option to accept ISO C99... unsupported

GHC ghc-devs at haskell.org
Fri Jun 10 13:18:45 UTC 2016


#12171: cygwin - option to accept ISO C99... unsupported
----------------------------------------+-----------------------------
        Reporter:  wozgonon             |                Owner:
            Type:  bug                  |               Status:  new
        Priority:  normal               |            Milestone:
       Component:  Build System         |              Version:  8.0.1
      Resolution:                       |             Keywords:
Operating System:  Windows              |         Architecture:  x86
 Type of failure:  Building GHC failed  |            Test Case:
      Blocked By:                       |             Blocking:
 Related Tickets:                       |  Differential Rev(s):
       Wiki Page:                       |
----------------------------------------+-----------------------------

Comment (by wozgonon):

 Replying to [comment:2 thomie]:
 > Cygwin isn't supported. Please use `msys2` as described in
 [wiki:Building/Preparation/Windows], and report any problems you might run
 into.

 The same behavior occurs under 'msys2'.
 The problem are the <space>'s in the path:

 {{{
 "C:/Program Files/Haskell Platform/8.0.1/lib/../mingw/bin/"
 }}}


 Renaming various environment variables just resulted in different errors:
 {{{
 export CC_STAGE0=c:/progra~1/haskel~1/8.0.1/mingw/bin/gcc.exe
 export LD_STAGE0=c:/progra~1/haskel~1/8.0.1/mingw/bin/ld.exe
 export AR_STAGE0=c:/progra~1/haskel~1/8.0.1/mingw/bin/ar.exe
 }}}

 The solution was to uninstall haskell and reinstall from scratch in a path
 without <space>s.

 {{{
 "C:/haskell/8.0.1/lib/../mingw/bin/gcc.exe"
 }}}

 'make' and 'make install' now complete successfully.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12171#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list