This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gmp.h and 'g++ -mno-cygwin'


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

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

-------------------------

Is it possible to work with gmp in MinGW environment?

-- 
 Alex Vinokur
     email: alex DOT vinokur AT gmail DOT com
     http://mathforum.org/library/view/10978.html
     http://sourceforge.net/users/alexvn





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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]