加速你的编译!

翻译: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 提交者: lishaohong163
coach outlet is a well known 提交者: kei111
Nate Solder Jersey 提交者: jersey209
Jarret Johnson Jersey Authentic 提交者: jersey209
australia ghd 提交者: Lonly
australia ghd 提交者: Lonly
Buy Runescape Gold 提交者: tomorrowto
wholesale jersey 提交者: xiaoxing000
oakley 提交者: hfgh
Christian Louboutin Shoes 提交者: goodseo
Authentic Josh Freeman Jersey 提交者: jersey208
nike shoes 提交者: fku
windows 7 serial key 提交者: ______T1987
Authentic Michael Huff Jersey 提交者: jersey208
Ferragamo Online Sale 提交者: wsxdr
コーチ アウトレット 提交者: wsxdr
uggs classic boots 提交者: uggs classic boots
UGG Australia Boots Classic 提交者: shoeshu
cheap football boots 提交者: qwer
coach 提交者: Donna2090
Cheap NFL Jerseys 提交者: Cheap_Jordans
christian louboutins 提交者: afra99
moncler jacket online 提交者: afra99
moncler parka 提交者: afra99
prada sneakers 提交者: afra99
moncler 提交者: afra99
monclers on sale 提交者: afra99
discount louboutins 提交者: afra99
cheap louboutin shoes 提交者: afra99
Christian Louboutin Sale 提交者: huaxiangseo
uggs canadan 提交者: Amity
From all the blogs I’ve 提交者: grils dresses
Christian Louboutin 提交者: huaxiangseo
ghd london 提交者: xiwangaa
cl 提交者: ysl
NFL jerseys 提交者: congzhuzhu
cheap wedding dresses 提交者: sxbaile
Instead, Asics Shoes Cheap 提交者: seoerlin
wholesale glass beads 提交者: acrylic beads
Oakley Sunglasses 提交者: huaxiangseo
mercurial vapor superfly 提交者: appleya
best hair straightener 提交者: anhui521
Good! What a very perfect 提交者: shenseoo
This is a wonderful opinion. 提交者: shenseoo
fake oakley 提交者: cuilan1
cheap football boots 提交者: yy89757