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? On Tuesday 06 November 2007 17:47, david48 wrote: > On 11/6/07, david48 <[EMAIL PROTECTED]> 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. _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
