Home > Environment > Installing the [KuroBox] GCC

Installation of [KuroBox] GCC

To install the GCC, but install 2 version 3.4 and the default system (4.3 system)

KURO-BOX:~# aptitude install gcc gcc-3.4 

That said ... set in the update-alternatives as switching the installation is finished, I checked with the following command

 KURO-BOX:~# update-alternatives --display gcc No alternatives for gcc. 

Like no. Try to set everything that can be set with the following commands that it MAY be present under a different name

 KURO-BOX:~# update-alternatives --all 

It do not seem too.
So, (. Was with "gcc" group name) manually add

 KURO-BOX:~# update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-3.4 34 --slave /usr/bin/cpp cpp /usr/bin/cpp-3.4 --slave /usr/bin/gcov gcov /usr/bin/gcov-3.4 KURO-BOX:~# update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.3 43 --slave /usr/bin/cpp cpp /usr/bin/cpp-4.3 --slave /usr/bin/gcov gcov /usr/bin/gcov-4.3 

Configured to use gcc-3.4 by default

 KURO-BOX:~# update-alternatives --config gcc There are 2 alternatives which provide `gcc'. Selection Alternative ----------------------------------------------- * 1 /usr/bin/gcc-3.4 + 2 /usr/bin/gcc-4.3 Press enter to keep the default[*], or type selection number: 1 Using '/usr/bin/gcc-3.4' to provide 'gcc'. 
ツイート Tweets

Comments: 0

Comment form
And stores the information that you have entered

Trackbacks: 0

TrackBack URL for this article
http://mwlab.net/2011/07/kurobox-install-gcc.html/trackback
Source list TrackBack
Installation of [KuroBox] GCC - MoonWing than

Home > Environment > Installing the [KuroBox] GCC

Search
Feed
Translation
Japanese flagEnglish flag

I return to the top of the page