Reviving GHC on Mac OS X 10.2 (Jaguar)

Sébastien Carlier sebc@izanagi.macs.hw.ac.uk
Sun, 13 Oct 2002 12:24:14 +0100


Hi,

The binary snapshot for Mac OS X on
	http://haskell.cs.yale.edu/ghc/
does not run on Jaguar.  After looking into that a bit, I have
found that just setting the following two environment variables
solves the problem:

> export DYLD_INSERT_LIBRARIES=/usr/lib/libtermcap.dylib
> export DYLD_FORCE_FLAT_NAMESPACE=1

(I just found out about the version compiled for Jaguar at
<http://www.uni-graz.at/imawww/haskell/JaguarGHC.tar.gz>
but this trick might bu useful in the future if Apple split
libraries again.)

-- 
Sébastien