You are not logged in.

#1 2009-11-25 14:22:51

scooby
Member
Registered: 2009-03-19
Posts: 23

ccache and kernel compilation -SOLVED

I have installed ccache and am compiling the kernel from the commandline, but can't get ccache working. Compiling takes a while, and ccache -s says there are no cached files. Read the wiki and man ccache, am a bit confused, and thought I had done what they suggested, but obviously not.

Can anyone help me set this up? Preferably I would like  all compiling to be done using ccache, not just using makepkg. I think I have to softlink ccache and gcc, not sure how to do this.

Happily, my custom compiled kernel boots fine, sound is the only thing not working.

Last edited by scooby (2009-11-26 00:05:29)

Offline

#2 2009-11-25 14:25:07

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: ccache and kernel compilation -SOLVED

If you do it through makepkg, you can have it handle all that stuff. I know that does not answer your question, but a PKGBUILD is imho preferrable if you are gonna keep a custom kernel.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#3 2009-11-25 16:53:44

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,549

Re: ccache and kernel compilation -SOLVED

Offline

#4 2009-11-25 23:05:05

scooby
Member
Registered: 2009-03-19
Posts: 23

Re: ccache and kernel compilation -SOLVED

I have discovered one of the cardinal rules for using Arch...if something doesn't work, check for typos.
ccache is working now,  makes kernel compiling so much easier.

I'm having a read finding out the pros/cons of using PKGBUILD for a custom kernel. Not too fussed, everything works and it boots ridiculously quickly.

Last edited by scooby (2009-11-25 23:06:24)

Offline

#5 2009-11-26 00:00:57

tavianator
Member
From: Waterloo, ON, Canada
Registered: 2007-08-21
Posts: 858
Website

Re: ccache and kernel compilation -SOLVED

Good; please mark this thread as [SOLVED] then.

Offline

Board footer

Powered by FluxBB