Difference between revisions of "Mac OS X Strike Force"

From HaskellWiki
Jump to navigation Jump to search
Line 25: Line 25:
   
 
[[User:ChrisKuklewicz|ChrisKuklewicz]] 11:53, 6 September 2010 (UTC) I use MacPorts for the infrastructure and compile ghc against /opt/local but with --prefix=/opt/ghc-6.12.3 to keep it separate.
 
[[User:ChrisKuklewicz|ChrisKuklewicz]] 11:53, 6 September 2010 (UTC) I use MacPorts for the infrastructure and compile ghc against /opt/local but with --prefix=/opt/ghc-6.12.3 to keep it separate.
  +
  +
=== Dynamic Linking ===
  +
  +
working in GHC HEAD, not in any released version.
  +
   
 
=== Difficult libraries on OS X ===
 
=== Difficult libraries on OS X ===

Revision as of 08:31, 7 September 2010

The following is a wiki page to centralize discussion of how to improve Haskell on Mac OS X. The name "strike force" comes from dons' post on reddit and the comments therein.


Wiki

You are reading the wiki. Other pages on the wiki are

Installing Haskell

How Haskell is on OS X today

The simplest methods are currently:

  • Binary GHC framework (/Library/Framework)
  • Binary Haskell platform framework (/Library/Framework)
  • MacPorts (/opt/local)
  • Fink (/sw)
  • Homebrew (symlinked into /usr/local ?)

Manually compiled

ChrisKuklewicz 11:53, 6 September 2010 (UTC) I use MacPorts for the infrastructure and compile ghc against /opt/local but with --prefix=/opt/ghc-6.12.3 to keep it separate.

Dynamic Linking

working in GHC HEAD, not in any released version.


Difficult libraries on OS X

Libraries needed for ghc

  • iconv (older version in /usr is incompatible with new version from MacPorts)
  • readline (faked in /usr, provided by framework or MacPorts)
  • gmp (framework or MacPorts)

Libraries needed for other packages? gtk?

OS X Trac Tickcets

Operating System == Mac OS X tickets on Trac

OS X code integration

Write Haskell in XCode?

Write ObjectiveC against GHC.Framework?

FFI for Objective C from Haskell?

GHC is not 64 bit

  • [2965] is the main ticket, with lots of CC: people
  • [4163] gives some cross-compiling hope

Improvements?

A cabal2pkg that maintains proper dependency tracking?

Discussion forum for all this?