X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Message-ID: <6DBD02274CED4F90990FC75999792BA2@desktop2>
From: "Sisyphus" <sisyphus1@optusnet.com.au>
To: "cyrille37" <cyrille37@gmail.com>, <cygwin@cygwin.com>
References: <16300420.post@talk.nabble.com>
In-Reply-To: <16300420.post@talk.nabble.com>
Subject: Re: build a GMPlib win32 dll with Cygwin
Date: Wed, 26 Mar 2008 22:56:42 +1100
MIME-Version: 1.0
Content-Type: text/plain; 	format=flowed; 	charset="iso-8859-1"; 	reply-type=original
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Windows Mail 6.0.6000.20661
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com


----- 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/

