[Code::Blocks] Compile 64-bit under windows with MinGW-w64

One of the great benefits of using Code::Block is that it is super easy to switch between compilers. In this blog, it shows how to add MinGW-w64 (GNU for Windows) to code blog and use it to compile a 64-bit program.

1. Install MINGW64

Download and install MinGW-w64. Assume that you install it under C:\mingw64.

2. Set up compiler

Open Code::Block. Go to Settings > Compiler. Under the drop down list of selected compiler, the GNU GCC Compiler should be…