delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/03/26/06:58:20

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <6DBD02274CED4F90990FC75999792BA2@desktop2>
From: "Sisyphus" <sisyphus1 AT optusnet DOT com DOT au>
To: "cyrille37" <cyrille37 AT gmail DOT com>, <cygwin AT cygwin DOT com>
References: <16300420 DOT post AT talk DOT nabble DOT 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
X-Mailer: Microsoft Windows Mail 6.0.6000.20661
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

----- Original Message ----- 
From: "cyrille37" <cyrille37 AT gmail DOT com>
To: <cygwin AT cygwin DOT 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/

- Raw text -


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