I've downloaded the GMP multiprecision library and I compiled without errors the following code through the terminal with the gcc main.c -lgmp
command but I can't figure out how to include the GMP
library in XCode 4.5 because the howtos online are a bit confusing.
I really need to use the GMP
library for my projects and any comment would be great help.
#include <stdio.h>
#include <gmp.h>
int main(int argc, const char * argv[])
{
printf("Hello, World!\n");
mpz_t a;
return 0;
}