delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/01/21/06:41:19

From: khan AT xraylith DOT wisc DOT 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 DOT 5 DOT 4 DOT 32 DOT 19990120165508 DOT 00669068 AT lola DOT univ-lemans DOT fr>
Mime-Version: 1.0
To: Serguei DACHIAN <Serguei DOT Dachian AT univ-lemans DOT fr>
Cc: gnu-win32 AT cygnus DOT 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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019