2.6.0 not accepting CC?
tom marinis
tmarinis99
Mon May 17 11:57:16 PDT 2004
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;
1/. You may need to reset the path for your user to
use gcc;
you know,
]$ printenv PATH
[ I think it reads /home/username/.profile ? ]
then, add something along the lines of like
PATH=/usr/local/bin:$PATH:.
export PATH
2/. And maybe you may be required to include the Libraries
for the new compilier in ld.so.conf, so that the cache
sees those required libraries.
[ I could never figure out the procedure to refresh the
cache, I always restarted the PC...seemed simple enough
to me. ]
Hope this Helps.
Merry Christmas...
__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
More information about the Linux-users
mailing list