I'm trying to compile a program that requires gcc 3.x. I've decided to install a Linux distro in a virtual machine for this purpose. I've tried Ubuntu 7.10 and Ubuntu 6.06, but these both use gcc 4.x. What's a good Linux OS to install that uses gcc 3.x? |
Went way way back to past with RHEL4 - most new distro's are at gcc4.x - I believe RHEL4 was like fedora 6: -bash-3.00$ rpm -qa |grep gcc libgcc-3.4.6-11.el4_8.1 compat-libgcc-296-2.96-132.7.2 gcc-java-3.4.6-11.el4_8.1 gcc-g77-3.4.6-11.el4_8.1 gcc-c++-3.4.6-11.el4_8.1 libgcc-3.4.6-11.el4_8.1 gcc-3.4.6-11.el4_8.1 |
I guess the best possible way would be to install the gcc 3.x instead of installing the whole OS. One more point I would like to mention that the program that can be compiled using gcc 3.x can also be compiled using gcc 4.x because they are downward compatible. |
Hi, If you just want to have gcc-3.X you can manually compile it on your server with some easy steps. Else you can install the Centos.4.4 or RHEL4 or redhat 7, they have the Gcc-3 by default. gcc -v Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.0.4/specs Configured with: ../configure Thread model: single gcc version 3.0.4 cat /etc/issue Red Hat Linux release 7.2 (Enigma) Kernel \r on an \m uname -a Linux emalouin 2.4.9-21 #1 Fri Feb 8 02:22:12 EST 2002 i686 unknown rpm -q glibc glibc-2.2.4-19.3 Regds, Ash Vashisth |
Cyent could (should?) have elaborated a little. If you follow his link: http://distrowatch.com/table.php?distribution=ubuntu there's a table of components of the various Ubuntus further down the page. The table shows that Ubuntu Hoary (5.04) is the most recent Ubuntu that comes with gcc 3.x (3.3.5) |
|
Please accept an answer so the question/answer can be finished.