hi..i need gcc 4.3 version..currently m having gcc 4.6 on ubuntu 12.04 plz help
hi..i need gcc 4.3 version..currently m having gcc 4.6 on ubuntu 12.04 plz help.
|
You can download it and build it yourself from http://gcc.gnu.org. You should install it in a separate directory, e.g. /opt/gcc-4.3, so as not to mess with the existing gcc on your system. You should *not* attempt to replace your existing gcc, just install the older version in a separate directory and set your PATH and LD_LIBRARY_PATH appropriately when you want to use it.
What do you need such an old version for, anyway? |
@vishakha singhal : Welcome to LQ.
The Ubuntu 12.04 default compilers are gcc-4.6, gcc-4.5, gcc-4.4 . Ref. your other post : ns-2.34 + leach : GCC-4.3 worked OK with Ubuntu 10.04, until 10.04 got updated. Since then ( 3 years ago ) you will have to use gcc / g++ version 4.1.2 . ( If it's a 64bits OS, g++-4.4 may work.) * Generally : * Do not use three year old install advices, read the current instructions: . http://www.linuxquestions.org/questions/tags/leach/ . http://www.linuxquestions.org/questions/tags/pegasis/ GCC and g++ version 4.1.2 : See post #18 here ... http://www.linuxquestions.org/questi...022/page2.html - |
As someone has already suggested - why do you need GCC 4.3?
Is it because a newer version throws errors for some poorly written or ambiguous code? If it does - I owuld look at fixing the offending code. |
All times are GMT -5. The time now is 11:42 AM. |