Skip to content

gmp library missing from OS X dist

I had the following problems with ghc-5.03-13032002-MacOSX:


1. The compiler expects the C compiler to be gcc, but OS X 10.1.3 calls it cc. Linking /usr/bin/gcc to /usr/bin/cc fixes this problem.


2. The gmp library is missing:

% ghc-5.03 GHCTest.lhs
/usr/bin/ld: can't locate file for: -lgmp

This library does not seem to be part of the OS X Developer Tools, and is not in the GHC distribution.


3. Interactive mode does not work:

% ghc-5.03 --interactive
ghc-5.03: not built for interactive use


Peter

Trac metadata
Trac field Value
Version None
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution ResolvedFixed
Component None
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information