2.6.0 not accepting CC?

Net Llama! netllama
Mon May 17 11:57:16 PDT 2004


On 12/23/03 13:24, tom marinis wrote:

> Greets Net Llama, group...
> 
> --- Net Llama! <netllama at linux-sxs.org> wrote:
> 
>>I've got a Redhat box with gcc-2.96 and my own gcc-3.2.3. 
>>Calling gcc 
>>will always end up using 2.96.  I've exported CC so that it
>>calls 3.2.3, 
>>however whenever I attempt to build a 2.6.0 kernel, its
>>ignoring CC, and 
>>using gcc instead.  Anyone know if this is a bug, or
>>intentional?
> 
> 
> If I may;
> 
> Uhm, I don't think it is intentional and I can only 
> think maybe your environment is out of whack, because of
> forgetfulness :)
> 
> Maybe you can tell us if you get gcc-2.96 or gcc-3.2.3 
> from a terminal as a mere user, by just typing in 
> 
> ]$ gcc -v                   ?
> 
> 
> This would be a great help to further diagnose.
> 
> If you do get gcc 2.96 with above command, then probably 
> all you need to;

I do get 2.96, as I should, because it is 2.96.  My gcc-3.2.3 binary is 
gcc3.  That's why I set CC to point to gcc3.

> [  I could never figure out the procedure to refresh the 
>    cache, I always restarted the PC...seemed simple enough
>    to me. ]

Running ldconfig does the trick without a reboot.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman                       	       netllama at linux-sxs.org
Linux Step-by-step & TyGeMo: 		    http://netllama.ipfox.com

   1:40pm  up 16 days, 18:28,  1 user,  load average: 0.32, 0.33, 0.24


More information about the Linux-users mailing list