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.hsmodule Main wheremain = putStrLn "Hello"F:\>ghc --make project/test.hsChasing modules from: project/test.hsCompiling Main ( project/test.hs, project/test.o )Linking ...F:\>ghc --make project\test.hsChasing modules from: project\test.hsSkipping Main ( project/test.hs, project/test.o )Linking ...F:\>ghc --make project\test.hsChasing modules from: project\test.hsghc: can't find file `project\test.hs'And indeed the file is no longer there!
Trac metadata
Trac field
Value
Version
6.0
Type
Bug
TypeOfFailure
OtherFailure
Priority
normal
Resolution
ResolvedFixed
Component
Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information