Same question goes for gcc, ar, etc. as well.
On changing the toolchain executable from something.exe to x86_64-w64-mingw32-something.exe in Code::Blocks, the code still compiles perfectly. Also, both 32-bit and 64-bit modes work perfectly in both the cases.
g++ -v
and x86_64-w64-mingw32-g++.exe -v
show the same output on command line.
If these are exactly the same, why are they provided as different executables?