Welcome to LQ.
Quote:
sudo ln -s cpp-3.4 i486-linux-gnu-cpp
sudo ln -s g++-3.4 i486-linux-gnu-g++
sudo ln -s gcc-3.4 i486-linux-gnu-gcc
|
That will not work.
Please delete the links, linking is not the way to do it.
( Usually not, and definitely not the way you did.)
.. And you will have to reinstall gcc cpp g++ .
You can have as many compilers, as you want.
Examples, using compilers :
./configure CC=gcc-3.4 CXX=g++-3.4
./configure CC=gcc-4.1 CXX=g++-4.1
and / or
make CC=gcc-3.4 CXX=g++-3.4
make CC=gcc-4.1 CXX=g++-4.1
gcc-3.4 -o <object> file.c
.....
gcc -v , gcc-4.1 -v , gcc-3.4 -v .
.....