翻译:xiaoma
用ccache加速你的gcc/g++编译。
这儿有一个奇妙的gcc工具,叫做ccache。你可以在这儿访问它的主页http://ccache.samba.org。
如果你经常一遍一遍地编译相同的程序——比如,尝试不同的kernel补丁,或者测试你自己开发的程序——那么,对你来说,ccache就太完美了。它将在第一遍编译时多花几秒钟,但接下来就会快得多得多。很明显,它不是适合每个人的。
不管怎样,Arch软件包的Extra库中也有ccache了。
pacman -S ccache
现在,加速编译C代码,使用"ccache gcc"或"ccache g++"代替"gcc"或"g++" 你也可以配置makepkg使用ccache,只需在你的/etc/makepkg.conf中加入下面几行:
export CC="ccache gcc"
export CPP="ccache cpp"
export CXX="ccache g++"
享受快速编译的乐趣吧!
评论
Replica louis vuitton
Replica louis vuitton handbags sale now,Buy at amazing cheap price,all the replica louis vuitton handbags free shipping now.Best Quality louis vuitton replica Handbags,bags, wallet, Luggage,Purses for cheap now, come up with new fashions every day,our replicas must be you best .We are professional replica louis vuitton accessories provider and offer cheap.Louis Vuitton bags have attractive appearance and top-quality design. replica lv bagsare one of the favorite products in the world. Louis Vuitton is so convenient.