#1828: ghc doesn't properly quote space-containing paths on Windows.
-------------------------+--------------------------------------------------
    Reporter:  guest     |       Owner:         
        Type:  bug       |      Status:  new    
    Priority:  normal    |   Milestone:         
   Component:  Compiler  |     Version:  6.8.1  
    Severity:  normal    |    Keywords:         
  Difficulty:  Unknown   |    Testcase:         
Architecture:  Multiple  |          Os:  Windows
-------------------------+--------------------------------------------------
 1) Install ghc 6.8.1 on Windows XP to "C:\Program Files\ghc\".[[BR]]
 2) Run `ghc newton.hs` (any hs file should work here) from your home
 directory.

 Output :[[BR]]
 {{{
 'C:\Program' is not recognized as an internal or external command,
 operable program or batch file.
 C:\Program Files\ghc\bin/windres: no resources
 }}}

 Something somewhere in the compilation process seems to try to run
 something in "C:\Program Files\ghc\" but, even though the program it wants
 to run has spaces in its path, it doesn't quote it properly.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1828>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to