compiling with gmp not working

Ankit Singla ankits@umich.edu
Sat Aug 11 07:57:00 GMT 2007


I tried installing gmp using the cygwin setup file, and it worked fine. 
The problem is, I can't use it. When I configure openCOBOL, it returns 
with an error saying gmp.h doesn't exist. The following file:

#include <stdio.h>
#include <gmp.h>

int main()
{
  return 0;
}

compiles as follows:
Ankit Singla@ankit /home/testNoSpace/open-cobol-0.33
$ gcc test.c
test.c:2:17: gmp.h: No such file or directory

What's odd is that gmp.h exists in my /usr/include directory, along with 
stdio.h. I also have libgmp dlls installed. Ideas?

Ankit
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3455 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20070811/1799a2bb/attachment.bin>


More information about the Cygwin mailing list