Hi. I need assistance regarding g++ installation in Ubuntu 12.04. this is what happened:
> I installed gcc and g++ version 4.4 using 'apt-get'.
> I also installed gcc and g++ version 4.6. After this, 4.6 became the default, but the tool I'm usng doesn't support v4.6 of both compilers; only v4.4 is supported.
> After some googling, I ran 'apt-get remove gcc g++' to completely remove gcc and g++.
> I managed to get gcc v4.4 back.
> When I run "sudo apt-get install g++-4.4", I get this:
> And on running" g++ --version", I get this:
Please tell how to install g++ v4.4.
Update:
I installeg g++ v4.4 from Ububntu Software Center, but now everything instead of 'g++', I have to use 'g++-4.4'. How do I use 4.4 as the default version and skip with '-4.4'.
> I installed gcc and g++ version 4.4 using 'apt-get'.
> I also installed gcc and g++ version 4.6. After this, 4.6 became the default, but the tool I'm usng doesn't support v4.6 of both compilers; only v4.4 is supported.
> After some googling, I ran 'apt-get remove gcc g++' to completely remove gcc and g++.
> I managed to get gcc v4.4 back.
> When I run "sudo apt-get install g++-4.4", I get this:
> And on running" g++ --version", I get this:
Please tell how to install g++ v4.4.
Update:
I installeg g++ v4.4 from Ububntu Software Center, but now everything instead of 'g++', I have to use 'g++-4.4'. How do I use 4.4 as the default version and skip with '-4.4'.