|
[ ghc-Bugs-751175 ] ghc --make deletes source file in Windows: msg#00075lang.haskell.glasgow.bugs
Bugs item #751175, was opened at 2003-06-09 04:42 Message generated for change (Comment added) made by simonpj You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=751175&group_id=8032 Category: Compiler Group: 6.0 >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: ghc --make deletes source file in Windows Initial Comment: I?ve a very strange problem that may be related to my computer. If I compile a file with ghc -?make from outside the directory where the source file is, using \ as the path separator, the file gets deleted. (Using Windows 2000 and GHC 6.0) For example: F:\>cat > project\test.hs module Main where main = putStrLn "Hello" F:\>ghc --make project/test.hs Chasing modules from: project/test.hs Compiling Main ( project/test.hs, project/test.o ) Linking ... F:\>ghc --make project\test.hs Chasing modules from: project\test.hs Skipping Main ( project/test.hs, project/test.o ) Linking ... F:\>ghc --make project\test.hs Chasing modules from: project\test.hs ghc: can't find file `project\test.hs' And indeed the file is no longer there! ---------------------------------------------------------------------- >Comment By: Simon Peyton Jones (simonpj) Date: 2003-06-18 08:30 Message: Logged In: YES user_id=50165 Fixed by Sigbjorn, by normalising command-line argument path names. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=751175&group_id=8032
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [ ghc-Bugs-756454 ] Class op should mention class tyvar, SourceForge.net |
|---|---|
| Next by Date: | RE: GHC running out of memory, surprisingly., Simon Marlow |
| Previous by Thread: | [ ghc-Bugs-751175 ] ghc --make deletes source file in Windows, SourceForge.net |
| Next by Thread: | Compiler bug, Terje Slettebø |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |