PDA

View Full Version : Adding g++ 2.95 to my 7.10 (Gutsy) install



negated
April 3rd, 2008, 04:41 PM
Hello,

Could anyone enlighten me on how to install (and subsequently run) g++ 2.95 on my 7.10 (Gutsy) x86 Ubuntu install?

What I would like to do is have the current g++ installed (this was installed with the OS) as well as g++ 2.95 for times when I need to compile with it instead.

Is this possible? Can they co-exist? Can install g++ 2.95 and then specify to compile using it instead of the current g++ when I need it, or will installing g++ 2.95 remove the current g++ as the default g++?

Thanks!

-S

WW
April 3rd, 2008, 06:56 PM
Install the package g++-2.95 (http://packages.ubuntu.com/gutsy/g++-2.95); it is in the universe repository. The compiler command is g++-2.95.