Pointing CodeLite to new compiler (GCC 4.8.x)

General questions regarding the usage of CodeLite
mikey
CodeLite Enthusiast
Posts: 24
Joined: Thu Apr 18, 2013 9:46 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Pointing CodeLite to new compiler (GCC 4.8.x)

Post by mikey »

(I use, ahem, 4Pane) to
So that's your baby? Will check out. Nautilus is pretty lame. I like Dolphin a lot better but I don't want to bring KDE into my installation. Will check out 4Pane. I'm trying to stick to straight GTK/Gnome. Discovered gtkmm, which I really like. After using Qt for a couple years, I decided to ditch it - don't like their specialized extensions etc. gtkmm is just a C++ wrapper on GTK+ - you can use it with nothing but native types.
mikey
CodeLite Enthusiast
Posts: 24
Joined: Thu Apr 18, 2013 9:46 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Pointing CodeLite to new compiler (GCC 4.8.x)

Post by mikey »

From our Linux guru in the office (Assumes you have 4.6 installed) - worked fine for me:

These commands should be run as the superuser (sudo):

apt-get install g++-4.8.1

update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.6 100

update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8.1 50

update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.6 100

update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8.1 50

update-alternatives --install /usr/bin/cpp cpp-bin /usr/bin/cpp-4.6 100

update-alternatives --install /usr/bin/cpp cpp-bin /usr/bin/cpp-4.8.1 50

update-alternatives --set g++ /usr/bin/g++-4.8.1

update-alternatives --set gcc /usr/bin/gcc-4.8.1

update-alternatives --set cpp-bin /usr/bin/cpp-4.8.1
Post Reply