I've got gcc 4, but I need gcc 3...

Ed Hill ed at eh3.com
Mon Apr 10 16:57:23 EDT 2006


On Mon, 2006-04-10 at 16:43 -0400, Don Levey wrote:
> Based upon info in the latest (May) issue of Linux Journal, I thought I'd
> finally get off my butt and experiment with QEMU.  The idea of having a
> virtual platform is appealing for all sorts of reasons (testing, living
> dangerously, etc), but I don't want to pay for VMware.  Anyway, my machine
> (Fedora Core 4) has gcc 4 installed, but QEMU will only compile with 3.x.
> I'm not able to install a 3.4 RPM without untangling dependency hell, and
> don't know enough to know if compiling from 3.4 source will mess any of
> these things up.
> 
> I know that I could fire up a virtual machine, amke sure I've got 3.4
> installed there, and go forward, but in order to do that I need to get the
> virtual machine installed...
> 
> Any suggestions?

Installing gcc v3.x on FC4 is *very* easy.  Just run:

  yum install compat-gcc-32 compat-gcc-32-c++

and then use the /usr/bin/gcc32 executable instead of gcc.

Ed

-- 
Edward H. Hill III, PhD
office:  MIT Dept. of EAPS;  Rm 54-1424;  77 Massachusetts Ave.
             Cambridge, MA 02139-4307
emails:  eh3 at mit.edu                ed at eh3.com
URLs:    http://web.mit.edu/eh3/    http://eh3.com/
phone:   617-253-0098
fax:     617-253-4464




More information about the Discuss mailing list