Installing Cygwin

Before you can use the GMP library, you need to have a platform that you can use it on. As is usually the case with GNU software, the assumed platform is Linux, or some form of UNIX. This book is intended for .NET programmers, which makes the implicit assumption that you are programming on some flavor of Microsoft Windows. The resulting problem is that the GMP library will not run directly on Windows without some help.

To solve this problem, we use an open-source product from Red Hat, named Cygwin. Cygwin provides Microsoft Windows with a UNIX programming environment. This is comprised of an emulation layer for POSIX API support and a set of UNIX command-line utilities, including gcc, make, and so on. The Cygwin.dll library ...

Get .NET Security and Cryptography now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.