It is clear that your compilation environment is seriously broken, making it unable to compile plain code. The problematic "link -d" does not originate in GMP but is something the compiler on your system passes to the linker on your system. -- Torbjörn