[Haskell-cafe] Problem linking with GHC 6.8.1

david48 dav.vire+haskell at gmail.com
Tue Nov 6 11:47:21 EST 2007

On 11/6/07, david48 <dav.vire+haskell at gmail.com> wrote:

well I'm not sure where to use the -I/path/to/ghc... so I tried this :

$ cd /usr/local/lib/ghc-6.8.1
$ sudo cp -R /home/david/Desktop/ghc-6.8.1/gmp .

$ ghc --make -I/usr/local/lib/ghc-6.8.1/gmp -O2 -o edimail Main.hs
Linking edimail ...
/usr/bin/ld: cannot find -lgmp

I'm not sure what to do next.

More information about the Haskell-Cafe mailing list