Hi!
It took me to change the gcc version on the older, and I could not do it.
What should I do?
Both versions are installed.
-V flag - only works for the first file in the project.
OS: linux
Sorry for my English.
Thank you!
change gcc version
-
- CodeLite Curious
- Posts: 3
- Joined: Fri Jul 08, 2011 11:43 pm
- Genuine User: Yes
- IDE Question: c++
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: change gcc version
If you installed codelite's MinGW
please ask at the proper forums
Eran
Make sure that your favorite gcc is set first PATH environment. Other than that, not really a codelite question3eR0.1ive wrote:It took me to change the gcc version on the older, and I could not do it.
What should I do?
please ask at the proper forums
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 3
- Joined: Fri Jul 08, 2011 11:43 pm
- Genuine User: Yes
- IDE Question: c++
- Contact:
Re: change gcc version
No, not MinGW.eranif wrote:If you installed codelite's MinGW
I can probably set the gcc version of the OS.
But then for the various projects will not be able to use different versions of gcc, it is sometimes convenient to ...
As it can be done for example in Xcode.
Sorry, i do not like it agrees with your ideology.
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: change gcc version
Define a new compiler in codelite from:3eR0.1ive wrote:But then for the various projects will not be able to use different versions of gcc
'Settings | Build Settings | Compilers'
and click on the 'New' button.
In the new compiler that shows up, set up the 'Tools' to point to you favorite g++/gcc
so instead of:
C++ compiler name: g++
change it to:
C++ compiler name: /path/to/my/new/g++
etc
Next, open the project settings and change the compiler to the one you have just created
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 3
- Joined: Fri Jul 08, 2011 11:43 pm
- Genuine User: Yes
- IDE Question: c++
- Contact:
Re: change gcc version
Oh, thank you. That's an idea =)