X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <47EA4586.5040202@gmail.com> Date: Wed, 26 Mar 2008 13:45:58 +0100 From: #Cyrille37# User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: cygwin AT cygwin DOT com CC: Sisyphus Subject: Re: build a GMPlib win32 dll with Cygwin References: <16300420 DOT post AT talk DOT nabble DOT com> <6DBD02274CED4F90990FC75999792BA2 AT desktop2> In-Reply-To: <6DBD02274CED4F90990FC75999792BA2@desktop2> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id m2QCl01P001882 Sisyphus a écrit : > > ----- Original Message ----- From: "cyrille37" > To: > 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. Thanks a lot Rob, I think my mistake with Cygwin is that I did not set a host for cross-compilation. I'll try again ;-) Regards, Cyrille. > > 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/