Personal tools

Mac OS X

From HaskellWiki

(Difference between revisions)
Jump to: navigation, search
(note on hugs on mac)
Line 1: Line 1:
  +
== HUGS on Mac 0SX ==
  +
There is a [[Fink]] package for Hugs.
  +
 
== GHC 6.4.1 on Mac OS X 10.3.9 (Panther) for PowerPC (PPC) ==
 
== GHC 6.4.1 on Mac OS X 10.3.9 (Panther) for PowerPC (PPC) ==
   

Revision as of 14:07, 2 December 2006

Contents

1 HUGS on Mac 0SX

There is a Fink package for Hugs.

2 GHC 6.4.1 on Mac OS X 10.3.9 (Panther) for PowerPC (PPC)

Haskell requires a newer version of XCode than the one distributed with Mac OS X 10.3 (Panther), this version of XCode only works on Mac OS X 10.4 and upwards. Currently there is no way to compile GHC on Mac OS X 10.3.9.

Then go get the GHC binary for OSX here http://www.haskell.org/ghc/dist/6.4.1/MacOSX/GHC-6.4.1.pkg.zip

Unpack the zip file & install the binary

GHC should be able to compile .hs files without any trouble.

2.1 Other notes:

This should also work for Tiger (OSX 10.4) and on Intel chips, but I dnt have any way to verify this.

The errors I recieved when trying to compile with only the distributed verison of XCode were like this: /tmp/ghc18985.s:232:Unknown pseudo-op: .subsections_via_symbols

3 Intel Macs

The GHC 6.6 binaries work just fine on Intel Macs. MacPorts also supports it now.