I'd like to upgrade to a newer version of the MinGW GCC compiler for use with Code::Blocks IDE. I'm considering downloading it from the following site that Xupicor had suggested: MinGW Distro - nuwen.net. Most of the links and on-line videos I've come across mention how to download and install C::B with GCC compiler but I haven't found anything meaningful about upgrading / adding a compiler. So please could someone advise re following steps before I download anything:
1. C::B currently has MinGW GCC 4.9.2 installed, so according to the terminology of the following page, would it be considered an install or upgrade? MinGW Distro - nuwen.net
2. do I need to unintall my current compiler before I download anything and, if so, what's the best way to do it. Above link says 'Simply delete C:\MinGW', it looks like some sort of cmd line prompt. Currently when I open my cmd window it reads C:\Windows\System32>. How do I navigate from here to going about deleting my current compiler if required
3. back to this page: MinGW Distro - nuwen.net, which version should I download - the one with git (66.0 MB) or without (37.0 MB) - and what sort of name should I give the folder where the download is extracted (current one is C:\Program Files (x86)\CodeBlocks\MinGW, so perhaps C:\Program Files (x86)\CodeBlocks\MinGW 6.2?)
4. the installation page MinGW Distro - nuwen.net mentions 'Finally, type g++ --version in your Command Prompt and hit Enter.' to check successful installation. Another command line prompt, which directory do I do this from?
5. Assuming I have got this far, now we move on to C::B - Settings - Compiler - Copy - Please enter the new compiler's name : I enter GCC 6.2 (for e.g) - get a message 'New compiler has been added, don't forget to update the toolchain's executable page'
6. So now I click Toolchain executables tab and Auto-detect or copy/paste C:\Program Files (x86)\CodeBlocks\MinGW 6.2 in the Compiler's installation directory text-box
7. Same page view, Program Files tab, text boxes for the following are currently filled in: C compiler, C++ complier, Linker for dynamic libs, Linker for static libs, Debugger, Resource complier, Make program - do I leave these unchanged or do I need to do anything. First 3 and last text box currently reads mingw32-gcc.exe, Debugger reads GDB/CDB debugger : Default etc
8. If I have missed anything along the way do let me know
Many thanks