GCC Compilers

Malcolm J Harwood mjhlists-bclug at liminalflux.net
Mon Dec 19 12:54:55 EST 2005


On Monday 19 December 2005 11:39 am, Doug Crompton wrote:

>  Your memory was correct. I downloaded the entire package - 3.4.5
> (c,c++,g77,java etc.) about 30 megs. and built it. It took about 40
> minutes. I suffixed the binaries with -3.4.5, installed to
> /usr/local/gcc/gcc-3.4.5, put that in my path, exported CC=gcc-3.4.5 and I
> was able to successfully compile mplayer and finally use it.

:-)

> I presume that all I have to do is do a  export CC=  to return to the
> exclusive use of gcc4 when I am not needing gcc3.

Yes. Though if you're compiling libraries at all, you need to keep them in a 
separate path for binary compatibility. 


-- 
"Why don't you try practising random acts of intelligence
 and senseless acts of elf-control?"


More information about the bclug.org mailing list