logo       

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

lang.haskell.glasgow.bugs

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

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)


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise