From here I've downloaded newest release of GCC, namely 4.6.
How can I add this compiler to my code::blocks?
Any IDE is fine, but you need to have a C compiler and set-up the IDE to find it. separate, download the appropriate package (e.g. codeblocks-20.03-setup.exe). We will use the GNU GCC Compiler.
If your compiler was not auto-detected, go to "Settings->Compiler and Debugger->Global Compiler settings->Toolchain executables", select the compiler you installed and press "Auto-detect". If you get a message saying that the compiler was auto-detected, congratulations!
go to view -> perspective -> and enable code::Blocks default, you can see your projects left side and down the build logs and messages etc.
Go to the Settings menu and hit Compiler and Debugger:
Go to Copy, and name the new compiler GCC 4.6 or whatever you'd like. Go to the Toolchain Executables tab, and fill in the directory name. I think all of the .exe's should be named the same thing. Make sure and copy paste your linker settings from one to the other. Now that compiler title will appear in all of the dialog boxes. I'm not entirely sure how to move the new one up the list so it's the default.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With