[haskell-platform] #136: Windows error: "ghci: Unable to locate ghc.exe"

haskell-platform haskell-platform at projects.haskell.org
Tue Aug 24 21:08:54 EDT 2010


#136: Windows error: "ghci: Unable to locate ghc.exe"
-------------------------------+--------------------------------------------
 Reporter:  mcandre            |        Owner:  refold    
     Type:  defect             |       Status:  reopened  
 Priority:  major              |    Milestone:  2010.2.0.0
Component:  Windows installer  |   Resolution:            
 Keywords:                     |  
-------------------------------+--------------------------------------------
Comment (by mcandre):

 I can compile ghci.c with MinGW. But it complains that I should have
 compiled using a wrapper:
 {{{
 C:\Users\andrew\Desktop\ghci test>ghci.exe
 GHCi, version 6.12.3: http://www.haskell.org/ghc/  :? for help
 : panic! (the 'impossible' happened)
   (GHC version 6.12.3 for i386-unknown-mingw32):
         can't decompose ghc.exe path:
 "C:\\Users\\andrew\\Desktop\\GHCITE~1\\ghc
 .exe"

 Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
 }}}
 In {{{ghci.c}}}, a comment says to compile with MinGW as follows:
 {{{
 gcc -o ghci.exe ghciwrap.c
 }}}

 Where is {{{ghciwrap.c}}}? It's not in the same directory as {{{ghci.c}}}.
 Is the file created at compile time by make?

-- 
Ticket URL: <http://trac.haskell.org/haskell-platform/ticket/136#comment:14>
haskell-platform <http://trac.haskell.org/haskell-platform>
The Haskell Platform: a comprehensive and robust collection of Haskell libraries


More information about the Haskell-platform mailing list