delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/11/22/09:03:42

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Message-ID: <41A1F169.1090803@familiehaase.de>
Date: Mon, 22 Nov 2004 15:02:17 +0100
From: "Gerrit P. Haase" <gerrit AT familiehaase DOT de>
Organization: Esse keine toten Tiere
User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103)
MIME-Version: 1.0
To: Alex Vinokur <alexvn AT connect DOT to>
CC: cygwin AT cygwin DOT com
Subject: Re: gmp.h and 'g++ -mno-cygwin'
References: <cnspoj$bm8$1 AT sea DOT gmane DOT org>
In-Reply-To: <cnspoj$bm8$1@sea.gmane.org>
X-IsSubscribed: yes

Alex Vinokur wrote:
> Here is file bar.cpp.
> 
> ------ bar.cpp ------
> #include <gmp.h>
> int main ()
> {
>   return 0;
> }
> ---------------------
> 
> ------ Compilation ------
> 
> $ cygcheck -c cygwin gmp gcc
> Cygwin Package Information
> Package              Version        Status
> cygwin               1.5.11-1       OK
> gcc                  3.3.3-3        OK
> gmp                  4.1.4-2        OK
> 
> 
> $ g++ bar.cpp -lgmp

Fine.


> $ g++ -mno-cygwin bar.cpp -lgmp
> bar.cpp:1:17: gmp.h: No such file or directory

You need a MinGW / Windows version of libgmp for this.


> -------------------------
> 
> Is it possible to work with gmp in MinGW environment?
> 

It seems to be possible to build a MinGW version, there are also some
instructions and binaries here: http://www.cs.nyu.edu/exact/core/gmp/


Gerrit
-- 
=^..^=

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