I compiled the sources on Cygwin and got a file called libgmp.a, which seems to be the library file. Does anyone know where I should place libgmp.a and gmp.h (the header file) for it to work with Code::Blocks?
Or you can put them in the include and lib directories of the compiler you are using.
I.e. if you use Codeblocks 8.02 with mingw bundled and you installed it to C:\Program files\Codeblocks,
than put libgmp.a to C:\Program files\Codeblocks\Mingw\lib and gmp.h to C:\Program files\Codeblocks\Mingw\include.
This way all projects can use gmp, just #include <gmp.h> at the beginning and add
library gmp in the linker section of the project configuration.