Personal tools

GHC/On Intel Macs

From HaskellWiki

< GHC(Difference between revisions)
Jump to: navigation, search
 
Line 5: Line 5:
 
Some issues:
 
Some issues:
 
* You need to manually install GMP.framework in /Library/Frameworks, and libreadline.dylib (and the libreadline*.dylib symlinks, I guess) in /usr/local/lib (assuming prefix=/usr/local).
 
* You need to manually install GMP.framework in /Library/Frameworks, and libreadline.dylib (and the libreadline*.dylib symlinks, I guess) in /usr/local/lib (assuming prefix=/usr/local).
* runghc seems to be a little flaky: it dies silently at the end of the build step of some cabal packages.
+
* When using runghc to build some cabal packages (e.g. [http://www.cs.chalmers.se/~bringert/darcs/haskell-xhtml/doc/ xhtml]), the setup program dies silently after building the archive, but before writing the .installed-pkg-config file. If the setup program is compiled with ghc, this does not happen.

Revision as of 04:38, 20 May 2006

This page is meant to document the current state of GHC on Apple Mac OS X on Intel x86 hardware.

This GHC CVS build seems to work quite well: http://www.uni-graz.at/imawww/haskell/ghc-6.5.20060409-i386-apple-darwin.tar.bz2 Some issues:

  • You need to manually install GMP.framework in /Library/Frameworks, and libreadline.dylib (and the libreadline*.dylib symlinks, I guess) in /usr/local/lib (assuming prefix=/usr/local).
  • When using runghc to build some cabal packages (e.g. xhtml), the setup program dies silently after building the archive, but before writing the .installed-pkg-config file. If the setup program is compiled with ghc, this does not happen.