Answers to: Which Linux to install to get gcc 3.x?http://linuxexchange.org/questions/1344/which-linux-to-install-to-get-gcc-3x<p>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.</p> <p>What's a good Linux OS to install that uses gcc 3.x?</p>enTue, 19 Apr 2011 18:17:32 -0400Answer by Ronhttp://linuxexchange.org/questions/1344/which-linux-to-install-to-get-gcc-3x/2385<p>Download the source and compile from here <a href="http://gcc.gnu.org">http://gcc.gnu.org</a>/releases.html</p>RonTue, 19 Apr 2011 18:17:32 -0400http://linuxexchange.org/questions/1344/which-linux-to-install-to-get-gcc-3x/2385Answer by joe 4http://linuxexchange.org/questions/1344/which-linux-to-install-to-get-gcc-3x/1483<p>Went way way back to past with RHEL4 - most new distro's are at gcc4.x - I believe RHEL4 was like fedora 6:</p> <p>-bash-3.00$ rpm -qa |grep gcc</p> <p>libgcc-3.4.6-11.el4_8.1</p> <p>compat-libgcc-296-2.96-132.7.2</p> <p>gcc-java-3.4.6-11.el4_8.1</p> <p>gcc-g77-3.4.6-11.el4_8.1</p> <p>gcc-c++-3.4.6-11.el4_8.1</p> <p>libgcc-3.4.6-11.el4_8.1</p> <p>gcc-3.4.6-11.el4_8.1</p>joe 4Fri, 28 Jan 2011 20:10:40 -0500http://linuxexchange.org/questions/1344/which-linux-to-install-to-get-gcc-3x/1483Answer by abhijithttp://linuxexchange.org/questions/1344/which-linux-to-install-to-get-gcc-3x/1408<p>I guess the best possible way would be to install the gcc 3.x instead of installing the whole OS. </p> <p>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. </p>abhijitTue, 02 Nov 2010 12:10:10 -0400http://linuxexchange.org/questions/1344/which-linux-to-install-to-get-gcc-3x/1408Answer by Ash Vashisthhttp://linuxexchange.org/questions/1344/which-linux-to-install-to-get-gcc-3x/1401<p>Hi, </p> <p>If you just want to have gcc-3.X you can manually compile it on your server with some easy steps.</p> <p>Else you can install the Centos.4.4 or RHEL4 or redhat 7, they have the Gcc-3 by default. </p> <p>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</p> <p>cat /etc/issue Red Hat Linux release 7.2 (Enigma) Kernel \r on an \m</p> <p>uname -a Linux emalouin 2.4.9-21 #1 Fri Feb 8 02:22:12 EST 2002 i686 unknown</p> <p>rpm -q glibc glibc-2.2.4-19.3</p> <p>Regds,</p> <p>Ash Vashisth</p>Ash VashisthTue, 02 Nov 2010 03:36:39 -0400http://linuxexchange.org/questions/1344/which-linux-to-install-to-get-gcc-3x/1401Answer by Robinhttp://linuxexchange.org/questions/1344/which-linux-to-install-to-get-gcc-3x/1400<p>Cyent could (should?) have elaborated a little. If you follow his link: <a href="http://distrowatch.com/table.php?distribution=ubuntu" rel="nofollow">http://distrowatch.com/table.php?distribution=ubuntu</a> 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)</p>RobinMon, 01 Nov 2010 23:54:18 -0400http://linuxexchange.org/questions/1344/which-linux-to-install-to-get-gcc-3x/1400Answer by Cyenthttp://linuxexchange.org/questions/1344/which-linux-to-install-to-get-gcc-3x/1398<p><a href="http://distrowatch.com/table.php?distribution=ubuntu" rel="nofollow">http://distrowatch.com/table.php?distribution=ubuntu</a></p>CyentMon, 01 Nov 2010 21:05:28 -0400http://linuxexchange.org/questions/1344/which-linux-to-install-to-get-gcc-3x/1398Answer by Jeffhttp://linuxexchange.org/questions/1344/which-linux-to-install-to-get-gcc-3x/1383<p>Use The Source, Luke.</p>JeffMon, 18 Oct 2010 03:06:00 -0400http://linuxexchange.org/questions/1344/which-linux-to-install-to-get-gcc-3x/1383Answer by 1jnikehttp://linuxexchange.org/questions/1344/which-linux-to-install-to-get-gcc-3x/1350<p>Hi phenom,</p> <p>You may wish to try puppy linux or mandriva. I hope this is of help.</p>1jnikeWed, 15 Sep 2010 20:53:05 -0400http://linuxexchange.org/questions/1344/which-linux-to-install-to-get-gcc-3x/1350