On Thu, Sep 06, 2007 at 06:51:27PM +0100, José Matos wrote:
> On Thursday 06 September 2007 18:10:57 Enrico Forestieri wrote:
> > So, Jean-Marc, would you like to pursue some other option or may I
> > apply my patch? It works for me, works for Darren, and I am sure that
> > it also works for José, even if he is reticent ;-)
> 
>   I am not reticent. I am still compiling. :-(
> 
>   That is why I like André's goal to reduce the compile time. Does anyone has 
> some simple step by step procedure to make ccache (or any other compiler 
> cache) work. It is really frustrating to almost recompile lyx everytime there 
> is a new update. :-(

ccache is dead easy.

As root 

 ln -s /usr/local/bin/gcc /usr/bin/ccache
 ln -s /usr/local/bin/g++ /usr/bin/ccache

and that's it for autotools, scons and qmake as long as /usr/local/bin
is in the path before /usr/bin (which is the usual setup). cmake needs
some commandline option I forgot.

Andre'

Reply via email to