[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: Installing gEDA from 20050820 Suite CD on Fedora



> I did search the FC4 packages and there is a compatibility package to 
> use the old compiler.  Here is the results of gcc --version:
> 
> gcc32 --version
> gcc32 (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-47.fc4)

> I am not sure how I can get the installer to use this version instead of 
> the 4.X version.  Any ideas?

The simplest approach:

1.  Become root.  Find your gcc version 4.x (probably in /usr/bin).
Move it to some innocuous name ("mv /usr/bin/gcc /usr/bin/gcc-4.0.1").  

2.  Create a symlink between gcc and gcc32:  "ln -s /usr/bin/gcc32
/usr/bin/gcc"

3.  Become a normal user again.  Then try re-running the CD installer.

4.  When you're done, remove the gcc symlink and move gcc-4.0.1 back
to gcc (or make a symlink between gcc and gcc-4.0.1).

Hopefully you won't have all kinds of other wierd dependency issues by
using gcc 3.2 on a more modern system.  No garuantees, however. . . . .

I can try creating a version of the CD which determines if your gcc
installation is 4.x, and if so, it can look for a compatability
version of gcc (gcc32) and run it.  How did you find out that gcc32
existed on your FC machine?

Stuart