runghc: cannot find ghc on Windows/MSYS : GHC-6.3.20050106

Brian Smith brianlsmith at gmail.com
Sun Jan 9 01:06:45 EST 2005


I compiled GHC-6.3.20050106 using GHC-6.2.2 (installed from the MSI).
This is on Windows XP SP 2.

$ sh --version
GNU bash, version 2.04.0(1)-release (i686-pc-msys)
Copyright 1999 Free Software Foundation, Inc.

$ runghc UnitTests.hs
runghc.exe: cannot find ghc

$ which ghc
/usr/local/bin/ghc

$ which runghc
/usr/local/bin/runghc

$ runghc -f /usr/local/bin/ghc UnitTests.hs

Fail: rawSystem: invalid argument (Invalid argument)


$ runghc -f /usr/local/bin/ghc.exe UnitTests.hs

Fail: rawSystem: invalid argument (Invalid argument)


$ runghc -f /usr/local/bin/ghc ./UnitTests.hs

Fail: rawSystem: invalid argument (Invalid argument)



More information about the Glasgow-haskell-bugs mailing list