LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to install g++ 3.4.3 on Ubuntu 11.10 ? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-install-g-3-4-3-on-ubuntu-11-10-a-909085/)

ryyyak 10-19-2011 09:53 PM

How to install g++ 3.4.3 on Ubuntu 11.10 ?
 
Hi every body , i am very new to Linux , i need your help for installing g++ 3.4.3 under Ubuntu 11.10 because i have a source code must be compiled under that version .
Thanks

Tinkster 10-19-2011 10:46 PM

Hi, welcome to LQ!

I'd suggest trying to find something as ancient as dapper, and running it
in a VM. I don't think getting that old a compiler to play nicely w/ a
current distro would be easy.



Cheers,
Tink

kalsoufi 10-20-2011 01:18 AM

Hi ryyyak,

I think you want to install ieee 802.11e. if so you can see this link
http://www.linuxquestions.org/questi...f-gcc4-889781/
I think it'll be sufficient.

knudfl 10-20-2011 01:46 AM

The latest Ubuntu where you could create older compilers was 11.04.

And installing older Ubuntu compiler packages : Latest was 10.10.
( We used to have up to 5 different gcc/g++ installed at the same time.)

11.10 : Only the default gcc/g++ versions 4.6.1, 4.5.3, 4.4.6 work.
No way to install or create another compiler, AFAIK.


Suggest : Use Ubuntu 10.04 or 10.10 to compile your files.
(The Ubuntu Hardy gcc / g++ versions 3.3.6 and 3.4.6 can be installed.)


Conclusion : Avoid Ubuntu 11.04 and 11.10 for developing non Ubuntu 11 software.
Any other Linux OS will do better.


..

ryyyak 10-20-2011 06:47 AM

To Tinkster, kalsoufi, knudfl
Thank you all for your attention , i will keep your advice in my mind , may be i'll try to install old version of linux as knudfl says.
Really i have a written code , i just want to run it to critic the results ..

knudfl 10-20-2011 08:44 AM

Ubuntu 10.04 is not really an old version.

10.04 : "Long Term Supported" = Continuously updated. Till 2013 ?

linuxwin2 10-20-2011 09:06 AM

Try to do
Code:

$sudo apt-get install g++
Or download it from
http://packages.ubuntu.com/en/hardy/...+-4.2/download

knudfl 10-20-2011 09:29 AM

@linuxwin2 post # 7.

sudo apt-get install g++ : Installs version 4.6.1.

Read post # 4 :
No old compiler (Like the Hardy ones) will work in Ubuntu 11.10.


All times are GMT -5. The time now is 01:21 PM.