I just fetched the ghc-4.01-sparc-sun-solaris2.tar.gz binary
distribution, unpackaged, configured (./configure
--prefix=/udd/lande), tested:
16:31 /tmp/test; cat Main.hs
main = do putStrLn "Hello World\n";
16:31 /tmp/test; ghc -c Main.hs
ghc: module version changed to 1; reason:
Olaf Chitil wrote/a ecrit/skrev:
Do you use gcc 2.8.1? Under Solaris 2 ghc doesn't work with that version.
However, it works with gcc 2.7.2. If you have that under the name gcc-2.7.2 you
can ask ghc to call this version instead of gcc by writing:
ghc -pgmcgcc-2.7.2 -o Test Test.hs
That was