build a GMPlib win32 dll with Cygwin

Sisyphus sisyphus1@optusnet.com.au
Wed Mar 26 11:58:00 GMT 2008


----- Original Message ----- 
From: "cyrille37" <cyrille37@gmail.com>
To: <cygwin@cygwin.com>
Sent: Wednesday, March 26, 2008 10:36 PM
Subject: build a GMPlib win32 dll with Cygwin


>
> Hello,
>
> I need to use GMPlib (gmplib.org) on windows xp.
> After compiling GMP with cygwin, for runtime, should I need some cygwin 
> dll
> to use the GMP dll ?
> Is there a solution to get only one dll with all in one ?

If I understand correctly, you could get what you want by either:
1) Building the GMP dll in the MSYS shell;
or
2) Building in Cygwin's shell, but as a cross-compilation for the 
i686-pc-mingw32 (native win32) host.

Either way, you'll end up with a GMP dll that does not need the cygwin dll.

I normally go with option 1).

Cheers,
Rob 


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list