Mandrake 10.1 does not seem to come with any gcc compatible c++ compiler ( can anyone confirm this).
Anyways I've downloaded the latest gcc3.4.3 (with c,c++,ada and java compilers) and installed it. I built it from source and used the --program-suffix option with configure to make sure there where no conflicts with the gcc already installed (gcc-3.4.1). I guess I did not realize the consequences of my actions as all the executables in /usr/local/bin now have names such as gcc3.4.3, and g++3.4.3 etc.
I'm going to do install again without the --program-suffix option because it installs to a different directory anyways. The problem that I'm going to have is that the currently installed gcc is first on the path, so it will get executed rather that the newer version.
I wanted to remove the old gcc but : "rpm -e gcc" gives
error: Failed dependencies:
gcc is needed by (installed) kernel-source-2.6-184.108.40.206-10mdk
Is removing the old gcc a bad idea??
Is there a way I can keep the older gcc while still making sure that the newer gcc is run.
Also I'm not sure what's going to happen with the documentation, old or new version now installed??
Thanks in advance.