Re: installing kernel.org kernels

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dave Jones wrote:
> On Thu, Nov 30, 2006 at 04:50:26PM -0500, Gene Heskett wrote:
> 
> > I hate to be dense, but thats not what the yum install ccache seems to 
> > have done:
> > [root@coyote linux-2.6.19]# ls -l `which cc`
> > lrwxrwxrwx 1 root root 3 Nov  9 08:33 /usr/bin/cc -> gcc
> > [root@coyote linux-2.6.19]# which gcc
> > /usr/bin/gcc
> > [root@coyote linux-2.6.19]# ls -l `which gcc`
> > -rwxr-xr-x 2 root root 197448 Oct 11 09:49 /usr/bin/gcc
> 
> That's odd. I don't recall setting it up by hand.
> 
> (16:53:02:davej@localhost:~)$ ls -l `which cc`
> lrwxrwxrwx 1 root root 15 Nov 13 22:05 /usr/lib/ccache/cc -> /usr/bin/ccache*
> (16:56:59:davej@localhost:~)$ which gcc
> /usr/lib/ccache/gcc
> (16:57:36:davej@localhost:~)$ rpm -q ccache
> ccache-2.4-7.fc6
> (16:57:45:davej@localhost:~)$ 

The ccache package install some stuff into /etc/profile.d that will
prepend /usr/lib/ccache to the path.  So it'll just work once you log
out and back in or you source the proper script manually.

Gene, if you're using bash try:

. /etc/profile.d/ccache.sh

If you're using something C-shell based, try:

. /etc/profile.d/ccache.csh

After that "which cc" should look like what Dave said.

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
======================================================================
The marvel of all history is the patience with which men and women
submit to burdens unnecessarily laid upon them by their governments.
    -- William H. Borah

Attachment: pgpHBXNBkBxRf.pgp
Description: PGP signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux