GHC 7.0.3has been used for recent development,
GHC 7.4.1for current development. Older GHC versions may do as well, but are not used for developing, nor is any effort done for keeping
UHCcompilable with older
GHCversions. The installed libraries should include the
fgllibrary. Depending on platform and
GHCdistribution more libraries may need to be installed.
% ./configure % make uhc # under the hood, this is EHC variant 101 % make install # sudo may be required, depending on your permissionsDuring the build part of the compiler is built as a library, installed as a ghc user package, via cabal.
% cat > hw.hs module HelloWorld where main = putStrLn "Hello World" % uhc hw.hs [1/1] Compiling Haskell hw (hw.hs) % ./hw Hello World %
% make test WARNING: output may differ w.r.t. names for the following tests: IO2.hs IO3.hs make test-regress TEST_VARIANTS=uhc == version 101 == -- 99/BoundedChar1.hs.exp101 -- 99/BoundedChar1.hs.reg101 -- -- 99/BoundedInt1.hs.exp101 -- 99/BoundedInt1.hs.reg101 -- -- 99/CaseFall1.hs.exp101 -- 99/CaseFall1.hs.reg101 -- ... %