Appendix C. The minimalist GNU for Windows and OpenCL

Microsoft’s Visual Studio is a popular tool for coding and compiling Windows applications, but throughout academia and commercial supercomputing, you’ll see a greater focus on GNU (GNU’s Not Unix) build tools such as gcc (GNU Compiler Collection). These tools are installed automatically on Mac OS and Linux, but Windows users can only access them by installing special packages.

Two such packages are Cygwin or MinGW (the Minimalist GNU for Windows). Cygwin gives you a wide range of GNU-based applications, whereas MinGW provides only the essential GNU tools needed to compile C/C++ code. The goal of this appendix is to show how to install MinGW, how to configure its build process using makefiles, ...

Get OpenCL in Action: How to Accelerate Graphics and Computation now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.