« Return to Thread: build a GMPlib win32 dll with Cygwin

Re: build a GMPlib win32 dll with Cygwin

by Sisyphus :: Rate this Message:

Reply to Author | View in Thread


----- Original Message -----
From: "cyrille37" <cyrille37@...>
To: <cygwin@...>
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/

 « Return to Thread: build a GMPlib win32 dll with Cygwin