GCC: where to compile it

Kurt Wall kwall
Mon May 17 11:44:52 PDT 2004


Feigning erudition, stayler wrote:
% On Wed, 26 Feb 2003 20:41:12 -0500, Kurt Wall wrote:
% 
% >
% >I've built GCC more times the last year than I care to count, and I have
% >yet to blow up my system compiler.
% 
% Kurt,
% 
% I am wodering, do you reference the new GCC during builds or do you
% simply remove the older GCC?

You can modify $PATH to make builds find the new GCC. Or, something like

$ make CC=/usr/local/gcc/bin/gcc foo

will usually work, depending on the Makefile.

Kurt
-- 
Yes, but every time I try to see things your way, I get a headache.


More information about the Linux-users mailing list