Difference between revisions of "Mac OS X"
m (→Mac OS X 10.6 (Snow Leopard))
|Line 21:||Line 21:|
== HUGS ==
== HUGS ==
Revision as of 09:39, 27 October 2009
Mac OS X 10.5 (Leopard)
To install GHC on Mac OS X 10.5 (Leopard), there are the following options:
Mac OS X 10.6 (Snow Leopard)
Mac OS X 10.6.x (Snow Leopard) is currently not well supported. The problem is that GHC generates 32bit code, but gcc on Snow Leopard defaults to 64bit code now.
The workaround is to tell gcc to accept 32bit code:
- install the Haskell Platform
- patch the following wrapper scripts to include the flags "-optc-m32 -opta-m32 -optl-m32":
See also Haskell on Snow Leopard.
Editors with Haskell support
- AquaMacs, a graphical Emacs version
- Eclipse with the EclipseFP plugin
- Emacs, is installed on every Mac
- MacVim, a graphical Vim version
- Vim, is installed on every Mac
- Yi (written in Haskell itself!), is available through cabal-install
TextEdit is Mac's default text editor, a very basic editor that works fine for most uses, you must however be careful to put it into plain text mode using the Format menu.
Shipping Installable Haskell Applications
- mkbndl builds installable Mac OSX applications from your Haskell project.