How to change the path to the toolchain?

General questions regarding the usage of CodeLite
DarkBug
CodeLite Enthusiast
Posts: 18
Joined: Tue Mar 27, 2012 5:00 pm
Genuine User: Yes
IDE Question: C++
Contact:

How to change the path to the toolchain?

Post by DarkBug »

The standard path to MinGW is set to C:\MinGW-4.6.1 after installation of codelite-3.5.5377-mingw4.6.1. Where can i change this setting?

Best regards,
DarkBug
User avatar
Jarod42
CodeLite Expert
Posts: 240
Joined: Wed Sep 30, 2009 5:54 pm
Genuine User: Yes
IDE Question: C++
Location: France
Contact:

Re: How to change the path to the toolchain?

Post by Jarod42 »

Near Codelite.exe (in C:\Program files\Codelite\), there is a file:

registry.ini

Code: Select all

[environment]
mingw=C:\MinGW-4.6.1
unittestpp=C:\UnitTest++-1.3
wx=C:\wxWidgets-2.9.2
DarkBug
CodeLite Enthusiast
Posts: 18
Joined: Tue Mar 27, 2012 5:00 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: How to change the path to the toolchain?

Post by DarkBug »

Thanks! It works, but why can't you change the path directly via CodeLite?
User avatar
Jarod42
CodeLite Expert
Posts: 240
Joined: Wed Sep 30, 2009 5:54 pm
Genuine User: Yes
IDE Question: C++
Location: France
Contact:

Re: How to change the path to the toolchain?

Post by Jarod42 »

in [menu] Settings -> Build Settings...

you can specify PATH by compiler ([Compilers Tab] compiler name -> Tools : PATH environment Variable)

and you can also choose make in ([Build System Tab] Build tool : )

I don't know the precedence between registry.ini and these configuration
DarkBug
CodeLite Enthusiast
Posts: 18
Joined: Tue Mar 27, 2012 5:00 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: How to change the path to the toolchain?

Post by DarkBug »

Ok, thank you!
Post Reply