How to install an older version of gcc compiler
hello!
i'm using Fedora 10. i need to instal an older version of gcc compiler. my default version is Quote:
Quote:
Quote:
|
i also tried this:
Quote:
|
so i tried another thing:
Quote:
Quote:
|
The package 'gcc-c++-4.1.2-33.i386.rpm' provides no file
by name 'gcc' but '/usr/bin/c++ , for c++ code only. For c++ I recommend 'compat-gcc-34-c++' I'd guess, that a modified gcc-4.1.2-33.i386.rpm from Fedora 8 http://download.fedora.redhat.com/pu...6/os/Packages/ will work in Fedora 10, works with no problems in Fedora 9. EDIT: Suse gcc41 works. See link below. Post #6. 'cpp-4.1.2-33.i386.rpm' is also needed. The method is to unpack the rpm's, remove conflicting files, rename files in /usr/bin, and the most important before use : # 'chmod -R 0755 <everything>' The modified result can be copied into Fedora 10, or repacked to be installed with # 'rpm -Uvh <package> <package>' I made 2 rpm's, compat41-gcc-4.1.2-33 i386 ( 250 kB ) and compat41-cpp-4.1.2-33 i386 ( 2.4 MB ) EDIT : For gcc / g++ 4.1 : Use the suse gcc41 packages. Post #6. http://download.opensuse.org/distrib...oss/suse/i586/ .... Example command using the above : 'CC=gcc-4.1 CXX=g++34 ./configure' .... |
Hi !
I am using Fedora 11. Now I want to install gcc 3.3; however, I still don't know specific steps to do it. Could you give me some advices. Thanks in advanced ! |
@ thinhtelecom , post # 5. Welcome to LQ. .. :)
1) yum install rpm .. to be sure you have a version with lzma. ( The oldest version has no lzma decompression.) 2) http://download.opensuse.org/distrib...oss/suse/i586/ cpp33-3.3.3-15.3.i586.rpm gcc33-3.3.3-15.3.i586.rpm gcc33-c++-3.3.3-15.3.i586.rpm libstdc++33-devel-3.3.3-15.3.i586.rpm And may be libstdc++33-3.3.3-15.3.i586.rpm. .. |
Quote:
I installed these packages, but how can I confirm whether the gcc 3.3 was installed successfully. Regards, |
The testing commands are :
gcc-3.3 -v g++-3.3 -v Using gcc-3.3 : gcc-3.3 <code>.c When you have a Makefile : make CC=gcc-3.3 CXX=g++-3.3 .. |
All times are GMT -5. The time now is 10:43 AM. |