What's the recommended way to upgrade mingw/gcc on windows?

CodeLite installation/troubleshooting forum
Josh Scholar
CodeLite Curious
Posts: 1
Joined: Wed Oct 22, 2014 11:50 am
Genuine User: Yes
IDE Question: C++
Contact:

What's the recommended way to upgrade mingw/gcc on windows?

Post by Josh Scholar »

I installed codelite 6.1.1 on 32 bit windows 7, and I really love how much smaller and faster it is than visual studio.

My project needs to be a C++11 project using the Boost libraries, and I noticed that the latest version of Boost has been tested with C++11 on mingw gcc 4.8.2 and gcc 4.9.0. The version of mingw gcc that's bundled with codelite is tdm gcc 4.8.1

Since I want my code to be as reliable as possible, I want to use a version of C++11 that the library was tested with. What is the recommended way of upgrading mingw gcc for codelite?

Thank you for your time,

Josh Scholar
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: What's the recommended way to upgrade mingw/gcc on windo

Post by eranif »

Just install MinGW 4.9 (or whatever you need) on your machine.
Next: settings->build settings->compilers->Add Compiler->Add an exisiting compiler

In the dialog the pops, navigate to the root folder of your installation
and let codelite recognize the new compiler.

You should have new compiler defined in codelite now.

next, open your project settings->common settings->general->compiler
and select the new compiler

Eran
Make sure you have read the HOW TO POST thread
Post Reply