on Wed, Sep 19, 2001 at 11:05:42AM -0500, Denis Crowdy <[EMAIL PROTECTED]> 
wrote:
> Now for a very stupid question. How do I avoid interfering with my dpkg'd
> /usr/bin/gcc? Rename it temporarily before a make install on the new
> version? Is there an archive from which I could get a suitable .deb
> package for an earlier release of gcc even?

The gcc-2.95.3 you compiled should install straight into /usr/local and not
touch your already (.deb) gcc. You can then choose which gcc you use by
setting you PATH variable.

brounb@edward>/usr/bin/gcc --version
2.96
brounb@edward>/usr/local/bin/gcc --version
3.0
brounb@edward>/usr/local/Old/bin/gcc --version
2.95.3

this one was compiled with ./configure --prefix=/usr/local/Old

each gcc keeps a specs  file

brounb@edward>/usr/local/Old/bin/gcc -v
Reading specs from
/usr/local/Old/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/specs

BB

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to