[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Installing GMP on cygwin
From: |
Kevin Ryde |
Subject: |
Re: Installing GMP on cygwin |
Date: |
Thu, 20 Jun 2002 09:05:05 +1000 |
User-agent: |
Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.1 (i386-debian-linux-gnu) |
"Edward Marti" <address@hidden> writes:
>
> When I originally installed GMP on my linux distro (Red Hat 7.3), I had
> trouble having the programs compile, even after adding the '-lgmp' or
> '-lgmpxx' endings. Eventually, I discovered that if I installed the programs
> with --prefix=/usr instead of /usr/local, it would work with no problems.
I can never remember if /usr/local is searched by the compiler and/or
loader. You can use compiler options (on your application) to look
anywhere desired.
If it's just a shared library which is not found you might need to
re-run ldconfig (though the libtool install is supposed to do that
already).
> BTW, is there a way to install GMP under mingw? I have found that mingw has
> much nicer executables because it doesn't require a dll like cygwin1.dll.
> However, all the GMP files, such as 'configure', are in linux, and my mingw
> won't seem to run them.
With the mingw tools it should be possible to run configure in the
normal way.
It might be possible to do a mingw build using the cygwin tools too,
something like the following (untested),
./configure CC="gcc -mno-cygwin" --host=i386-pc-mingw32
Replace i386 with your actual processor.
- Installing GMP on cygwin, Edward Marti, 2002/06/18
- Re: Installing GMP on cygwin,
Kevin Ryde <=
- RE: Installing GMP on cygwin, Edward Marti, 2002/06/20
- Re: Installing GMP on cygwin, Kevin Ryde, 2002/06/22
- RE: Installing GMP on cygwin, Edward Marti, 2002/06/23
- RE: Installing GMP on cygwin, Edward Marti, 2002/06/23
- Re: Installing GMP on cygwin, Kevin Ryde, 2002/06/24
- RE: Installing GMP on cygwin, Edward Marti, 2002/06/24
- Re: Installing GMP on cygwin, Kevin Ryde, 2002/06/28
- RE: Installing GMP on cygwin, Edward Marti, 2002/06/28