would a gcc by any other name still smell?

Kate Hedstrom kate@ahab.rutgers.edu
Tue Nov 25 07:28:00 GMT 1997


> > Doing it is just as easy as having two FSF gcc versions around.  On
> > our machines here, I have 2.7.2 as the default gcc, and if I want
> > egcs, I use 'gcc -V egcs-2.90.17'.  works like a charm.
> 
> Unfortunately, this solution does not work so great.  The standard C++
> libraries are located at the exact same location on the file system
> for both compiler versions by default.

My problem is more with the C++ include files.  If you leave the 2.7.2
ones lying around in /usr/local/lib/g++-include, they are found before
the egcs ones in /usr/local/include/g++.  I have had to delete the old
ones or use a different --prefix for one of the versions.  Any other
solutions?

Kate



More information about the Gcc mailing list