how i install older version of gcc 2.95.3 in fedora core 8 or fedora core 12 ?
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
@knudfl ; Actually my point was to intall with different name, put a different path-name.
not as a regular path name gcc, use another path name like gcc29 ..etc..
because if we use the gcc, then this may effect the latest version of gcc path. This leads to problem for the applications which relay on latest gcc.
I followed this way to install old gcc to run project.
* extracted gcc with a different name as gcc33 in the same directory where latest gcc lies.
* I gave a name gcc33 to folder. and extracted their gcc3.3 files
* Now whenever i need to run project , i made a change as CC=gcc33 ( Actually CC=GCC )
what i think is that "raju.mopidevi" meant that it is possible to install
MAYBE ???? but installing something SO OLD will be VERY VERY hard to do .
it must be put in it's own folder OUTSIDE OF THE SYSTEM PATH
then pass it's location to the configure script and to the build program.
However it will be MUCH easier to rewrite the old software ( from 1999- 2001) to comply with gcc 4.4 that is installed on fedora 12
Distribution: pclos2015, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
@ John VV : My point is just, why reinvent the wheel, when you
have packages. All modern Linux have 2 .. 4 compilers, all meant
to be installed at the same time.
The Suse example : /usr/bin/gcc-3.3 /usr/bin/g++-3.3
/usr/bin/gcc-4.1 /usr/bin/g++-4.1 /usr/bin/gcc-4.3 /usr/bin/g++-4.3
/usr/bin/gcc (4.4.1) /usr/bin/g++ (4.4.1)
Rewriting the code : I doubt anybody have the time ( 2 years ? )
to rewrite the 2000 files.
About the @raju.mopidevi suggestion to compile gcc-2.95.x :
You will need a "10" year old Linux to do that, and only
the gcc executable will work, g++-2.95 cannot be used on
a newer Linux. The latest to use it is Debian Etch.
how to install gcc3.2.3 anad where to find s/w in fedora linux 12 ,
I Already installed gcc-g++34, and gcc g++ 4.4.4
My system is Linux localhost.localdomain 188.8.131.52-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686 i686 i386 GNU/Linux
Purpose of giving above line is to tell u that i686 compatible version i need
And i want know which compiler version is suitable for ns-2.26?? ...and plz post link here
When i installed ns2-allinone-2.26 with gcc34 and gcc4.4.4 im getting errors like
/usr/lib/gcc/i686-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/vector.tcc: In member function `void std::vector<_Tp, _Alloc>::_M_fill_insert(__gnu_cxx::__normal_iterator<typename _Alloc:ointer, std::vector<_Tp, _Alloc> >, size_t, const _Tp&)':
/usr/lib/gcc/i686-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/vector.tcc:307: error: expected unqualified-id before '(' token
/usr/lib/gcc/i686-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/vector.tcc: In member function `void std::vector<_Tp, _Alloc>::_M_range_insert(__gnu_cxx::__normal_iterator<typename _Alloc:ointer, std::vector<_Tp, _Alloc> >, _ForwardIterator, _ForwardIterator, std::forward_iterator_tag)':
/usr/lib/gcc/i686-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/vector.tcc:384: error: expected unqualified-id before '(' token
make: *** [diffusion3/ns/difftimer.o] Error 1
Ns make failed!