Alberto Ruiz wrote:
If you don't use the foreign function interface I think that you only need
the -L option:
ghc --make -L/usr/local/lib/ghc-6.8.1/gmp -O2 -o edimail Main.hs
Something similar worked for me, but this new behavior is not very reasonable.
Could it be a bug?
It looks like a problem with the binary distributions. They include gmp,
but somehow don't install it. As a workaround, you can take gmp.h and
libgmp.a from from the binary tarball and put them by hand into
/usr/local/lib/ghc-6.8.1 (or wherever you installed it). Alternatively you
can install a suitable gmp package using your OS's package manager (you
didn't say which flavour of Linux you're on).
BTW, a better place to ask questions about GHC is
[EMAIL PROTECTED], you're more likely to get a quick answer.
Cheers,
Simon
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe