How to add libgmp.a to lds search path

2000-07-17 Thread Sven Kuenzler

Hi,

I am trying to build fptools from CVS. I have managed to get the binary
releases of happy-1.6 and ghc-4.08 working and configured fptools
successfully.

The next error I get is that ld cannot find -lgmp. So I built it from
ghc/rts/gmp.
Now, how do I make GHC _find_ that library. I do not have super user
permissions on that machine, so I cannot "make install "

LD_LIBRARY_PATH is ignored by ghc?

  Sven

-- 
We must admit that looking at progress bars does not qualify as working
-- Apocalypse Geek




Re: How to add libgmp.a to lds search path

2000-07-17 Thread Manuel M. T. Chakravarty

Sven Kuenzler [EMAIL PROTECTED] wrote,

 I am trying to build fptools from CVS. I have managed to get the binary
 releases of happy-1.6 and ghc-4.08 working and configured fptools
 successfully.
 
 The next error I get is that ld cannot find -lgmp. So I built it from
 ghc/rts/gmp.
 Now, how do I make GHC _find_ that library. I do not have super user
 permissions on that machine, so I cannot "make install "
 
 LD_LIBRARY_PATH is ignored by ghc?

Is it possible that you are using a Linux box on which the
gmp devel libraries are not (properly) installed?  Suse and
RedHat do not install gmp development support by default
(only if you explicitly install extra packages - eg, the
gmp-devel rpm on RedHat).

Manuel





Re: How to add libgmp.a to lds search path

2000-07-17 Thread George Russell

"Manuel M. T. Chakravarty" wrote:
 Is it possible that you are using a Linux box on which the
 gmp devel libraries are not (properly) installed?  
Very likely.  Our local sysadmins do not appear to consider 
integers a sufficiently common concept in computer science to
justify a MB or so installing gmp.  So I (like about 7 others no doubt)
compiled my own copy of gmp and copied libgmp.a to where GHC 
puts its libraries: 
[installation directory]/lib/ghc-4.08/