月亮词典
首页
查询
ccache
ccache
常用释义
词性释义
ccache
例句
全部
The CCACHE_LOGFILE
environment
variable
defines
the
location
of
a
log
file
that will be populated as
you
use
ccache
.
CCACHE_LOGFILE
环境
变量
定义
了
使用
高速
缓存
时
生成
的
日志
文件
所
处
的
位置
。
Installing
ccache
and
using
it is
not
as
complicated
as
you
might
think
.
安装
和
使用
ccache
并不
像
您
可能
想像
的
那样
复杂
。
As
mentioned above
,
ccache
works
by sitting
between
you
and
your
normal
compiler
.
如上所述
,
ccache
在
您
与
您
的
普通
编译
器
之间
进行
工作
。
We
need
something meaty to
compile
,
because
ccache
works
best
when
it has
cached
the
parsed
header
files
.
我们
需要
编译
一个
足够
大
的
项目
,
因为
ccache
在
高速
缓存
了
解析
过
的
头
文件
时
运转
效果
最好
。
Another
environment
variable
, CCACHE_DIR,
specifies
the
location
of the
cache
directory
.
另一个
环境
变量
CCACHE_DIR
指定
了
高速缓存
目录
的
位置
。
CCACHE_PREFIX
defines
a
prefix
to
use
when
ccache
calls
the
true
compiler to
compile
the
source
(
after
preprocessing
).
CCACHE_PREFIX
定义
了
当
ccache
调用
真实
的
编译
器
来
编译
源
文件
(
预处理
之后
)
时
所
使用
的
前缀
。
To
use
distcc
and
ccache
in
this
way
,
configure
distcc on your
hosts
and
distcc and
ccache
on your
main
development
machine
.
要
以
这种
方式
来
使用
distcc
和
ccache
,
需要
在
主机
上
配置
distcc
,
在
主要
的
开发
机器
上
配置
distcc
和
ccache
。
CCACHE_TEMPDIR --
Specifies
the
folder
where
ccache
puts
temporary
files
that it
generates
.
CCACHE_TEMPDIR——
指定
放置
ccache
生成
的
临时
文件
的
文件夹
。
If
you
are
using
ccache
across
a
network
of
machines
,
make sure
the
directory
you
share
is
exported
over
NFS
and
mounted
on
each
client
.
如果
您
是
在
网络
中
多
台
机器
上
使用
ccache
,
那么
要
确保
您
共享
的
目录
要
通过
NFS
导出
(
export
)
并
挂载
到
每
一个
客户机
上
。
CCACHE_PREFIX --
Adds
a
prefix
to
the
command
line
that
ccache
uses to
invoke
the
compiler
proper
.
CCACHE_PREFIX——
向
ccache
用于
完全
调用
编译
器
的
命令
行
添加
一
个
前缀
。
This
article
has delved
into
the
GNU make
,
distcc
,
and
ccache
tools
, which
can
help you
parallelize
the
build
process
.
本文
探讨
了
GNUmake
、
distcc
和
ccache
,
这些
工具
能够
并行
分布
编译
过程
。
CCACHE_LOGFILE -- If
set
,
tells
ccache
to
record
the hit and miss
statistics
from the
cache
in
this
file
.
CCACHE_LOGFILE——
设置
这个
选项
告诉
ccache
随机
记录
该
文件
在
缓存
中
的
统计信息
。
CCACHE_DIR
specifies
the
location
of
the
ccache
directory
.
CCACHE_DIR
指定
了
高速
缓存
目录
的
位置
。
You
can
improve
compile
times
even
more
when
using
ccache
in
combination
with
distcc
.
组合
使用
ccache
和
distcc
,
您
可以
更进一步
地
改进
编译
时间
。
CCACHE_DIR
-
-
Specifies
the
folder
where
ccache
stores
the
precompiled
outputs
.
CCACHE_DIR——
指定
ccache
存储
预
编译
输出
的
文件夹
。
As
previously
mentioned
,
the
effects
of
ccache
won't
be
felt
on
the
first
compilation
.
如
前
所
述
,
在
第一次
编译
时
,
ccache
的
影响
不会
为人
所
察觉
。
Use
the
-
s
command
line
option
with
ccache
to
get
statistics
about
the
cache
performance
(
see
Listing
3
).
在
ccache
中
使用
-s
命令
行
选项
来
获得
关于
高速缓存
性能
的
统计数据
(
见
清单
3
)。
You
can
also
use
ccache
,
a
tool
that
drastically
reduces
the
time
it takes
to
clean
-
build
a system
,
often by a factor
of
5
to
10
.
还
可以
使用
ccache
,
这个
工具
能
大大
减少
编译
清理
时间
(
减少
到
原来
的
五分之一
至
十分之一
)。
You
can
use
ccache
with
or
without
distcc
.
使用
ccache
时
,
可以
带有
distcc
,
也
可以
不
带
。
To
download
the
latest
version
(
2
.
4
)
of
ccache
,
see
the
Resources
section
.
要
下载
ccache
的
最新
版本
(
2.4
),
请
参考
参考资料
小节
。
网络释义
编译的缓存
加快编译你的FreeBSD
编译的缓存
(
ccache
)CCACHE是为措施编译供给缓存,通过镌汰频频代码编译次数,加快编译工夫。不 …
编译器的名称
CC 设置首先使用的 C
编译器的名称
(
ccache
)。 现在,当运行 make 时,如果使用了 -j 选项来指定要执行的同步编译的数目…
更新时间:2025-05-02 04:08