|
发表于 2003-8-13 21:36:28
|
显示全部楼层
又学到了,我要试试
据说有两种方法启用,
一是设置CC="ccache gcc"
二是 ln -s ccache cc (不知道理解的对不对)
http://ccache.samba.org/
You can use ccache in two ways. The first is just to prefix your compile commands with "ccache". For example, you could change the "CC=gcc" line in your Makefile to be "CC=ccache gcc".
Alternatively, you can create symbolic links from your compilers name to ccache. This allows you to use ccache without any changes to your build system. |
|