Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
First thing I'd try before trying to install an ancient GCC would be installed the latest version of ns, which is 2.33, from April 2008.
One should expect it to be recent enough to compile with a recent GCC.
Will download and test.
Also, as I'm running an upgrade I cannot check the Fedora-repo. But did you have a look if it's maybe available there?
I have to use ns 2.26 because i need the bgp++ module which works only with this version...which by the way seems to need this older version of gcc.
What do you mean with Fedora-report?! The report after the installation???
Sorry for the ignorance but i am not a "Linux Expert"
Knudfl thnx for the links.
I tried installing gcc-core-2.95 which is suposed to have g++2.95 included.
I will donwload also cpp 2.95 and see if the errors wil be solved!
thnx again! I'll let u know!
Distribution: PCLinuxOS2023 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,486
Rep:
1) It is not easy to build gcc-2.95 .
2) 'gcc -v' only concerns /usr/bin/gcc, which is gcc-4.1.2 .
2a) The command '/opt/gcc336/bin/gcc -v' will write version,
etc. for that.
3) If you want gcc-3.x : Use the compat-gcc-34 packages,
I mentioned in post # 5.
And using it, example : './configure CC=gcc34 CXX=g++34
... and 'make CC=gcc34' etc.
Probably works better than gcc-3.3.6,
if you compiled it yourself.
.....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.