User forums > Using Code::Blocks
get MinGW version
(1/1)
MoonKid:
There are more then one gcc and mingw32-gcc binarys inside my Code::Blocks directory.
How can I found out which one of them are exactly used while building a project?
thomas:
Either by invoking gcc with --help or reading the manual and learning that -dumpversion will output the version, as will --version.
Alternatively, you can use -v which will output gcc's version and build info, and will keep compiling (the others will stop after dumping information).
MoonKid:
Of course does -v putout the version info.
But how can I get it in C::B. I have multible installations of MinGW and need to know while build inside Code::Blocks which MinGW version is used.
stahta01:
Set it in the Compiler Settings
"Settings" -> "compiler and debugger"
Toolchain executable tab.
Tim S
Navigation
[0] Message Index
Go to full version