Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Bennigan88 on December 27, 2012, 08:19:51 pm

Title: Changing Compilers in Codeblocks
Post by: Bennigan88 on December 27, 2012, 08:19:51 pm
I want to start using Allegro 5.0, but to do that I need to update my mingw32. As far as I can tell, when I downloaded codeblocks it came with mingw 4.4.1, but I want a later version, 4.7. I have googled how to install a new compiler, and I was unable to wade through the muck to get a cogent explanation of how to upgrade the compiler and have it work with codeblocks. I am new to this, and what I really need is either a dumbed down explanation or a link to a dumbe down explanation to replace my mingw 4.4.1 with 4.7 and have it work with codeblocks. Thank you, and sorry if this is posted in the wrong forum, I'll gladly move it if directed to.
Title: Re: Changing Compilers in Codeblocks
Post by: MortenMacFly on December 28, 2012, 12:56:40 pm
Well a good starting point would be to tell what version you need and for what platform.

Maybe also why the current compiler does not work - becasue it usually works just fine. Maybe its not a compiler issue after all?
Title: Re: Changing Compilers in Codeblocks
Post by: herrtool on January 06, 2013, 09:26:24 pm
If you've already installed your compiler (I have no experience with Alegro) then by going to Settings menu -> Compiler..., go to the Toolchain Executables tab and make sure it's all set up to point to the new installation directory.

If you're having trouble installing a new mingw compiler you can try TDM GCC (a very good MinGW compiler, if you ask me).  They have binary installers and good C++11 support.  Pretty easy to install and configure for Code::Blocks.