compile GMP for Visual C++?

Brian Gladman brg at
Tue Jul 6 01:36:56 CEST 2004

Jacek Blaszczynski wrote:

> Hello!
> I tried to compile gmp-4.1.3 using projects from
> Unfortunately, there are multiple compile errors in gmp-impl.h file, 
> which was supposed to be replaced by zipped package, but was not.

I don't replace this file (as far as I recall).

> Any ideas how to fix it?

[snip details]

The HAVE_ATTRIBUTE_XX definition lines in config.h should be:


but it seems that they are defined in your config.h file or maybe 
elsehwere.  Fixing this should overcoem the problem.

     Brian Gladman

More information about the gmp-discuss mailing list