I use the method2 described in the man page :

ln -s /usr/bin/ccache /usr/local/bin/{cc,c++,gcc,g++}

And edit my $PATH such that /usr/local/bin is before /usr/bin or /bin. I think that arch does that automatically without need for modification. This enables use of ccache for any compile. I dont mind, since I want ccache to be used as much as possible.

If, however, you dont want to follow this method, compile your kernels this way
CC=ccache make bzimage foo bar
If you use makepkg, then iirc, makepkg uses ccache automatically.

HTH,
Rohan.

On 4/5/06, Mac!eKs <[EMAIL PROTECTED]> wrote:
Hi
I use ccache because I sometimes compile files more than once changing
something in the configruation or adding modules.

ccache works well with all sources except kernel24 which is being
compiled with gcc. I read that Arch kernel26 builders use ccache and
it's much faster.
Is there a way to use ccache to make next compilation faster?

Greetz
--
Mac!eKs

_______________________________________________
arch mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/arch



--
Rohan Dhruva
Proud GNU/Linux user.
Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming or what?"
http://www.dhruva.be/
_______________________________________________
arch mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/arch

Reply via email to