Can be used together with an IDE (like Code::Blocks) or the MSYS2 shell if you need. This is a standalone personal build, which means this download offers a complete compiler environment for Windows. The version of gcc I'm trying to compile is 4.2.1, and my operating system is kubuntu. The configuration correctly identified my system as a 64-bit system.
I looked at the output from the compilation and found the -m32 option sent to the compiler which means that gcc (or at least part of it) is being compiled for a 32-bit system.