From: khan@xraylith.wisc.edu (Mumit Khan)
Subject: Re: gmp on cygwin
21 Jan 1999 06:41:19 -0800
Message-ID: <Pine.SUN.3.93.990120234001.24993H-100000.cygnus.gnu-win32@modi.xraylith.wisc.edu>
References: <1.5.4.32.19990120165508.00669068@lola.univ-lemans.fr>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
To: Serguei DACHIAN <Serguei.Dachian@univ-lemans.fr>
Cc: gnu-win32@cygnus.com

On Wed, 20 Jan 1999, Serguei DACHIAN wrote:

> I don't now, if there is any (and I &m interested in), but I wasn't able to
> build it under CygWin32.  On the other hand i've managed to build the CLN
> library (which uses in part the gmp code) and it configures and builds
> without much problems.  May be you can try this one??
> 

Corrected URL:

ftp://ftp.xraylith.wisc.edu/pub/khan/gnu-win32/cygwin/ports/gmp-2.0.2-cygb20.tar.gz

Works out of the box for static library, libgmp.a. Here's what I did for
building the DLL version:
  
  $ mv libgmp.a libgmp_s.a
  $ dllwrap --export-all --output-def gmp.def -o gmp.dll libgmp_s.a

If you just use -lgmp, then you use the DLL; if you want to use the
static version, use -lgmp_s.

Regards,
Mumit


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
