- Install The Glorious Glasgow Haskell Compilation System from this link: http://hackage.haskell.org/platform/. Install both the language and the platform.
- Open your terminal and issue the following commands:
ghc --versionandcabal --versionto check everything is working correctly
Now you have full not working version of Haskell; even a trivial code will not complile.
- Edit
/usr/bin/ghc - append
-optc-m32 -opta-m32 -optl-m32to the line beginning withexec - Save & Exit