diff options
| author | ruki <[email protected]> | 2017-08-01 13:04:10 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-08-01 13:04:10 +0800 |
| commit | 3e475513ba214e80ef524df95d5c315418f2a798 (patch) | |
| tree | 9a60f7066e5df9b8149739690bd955dbd1c9d318 /docs/zh | |
| parent | c87c400fcbb581c1590694bf6ee05d73d5d3e984 (diff) | |
add load compiler and linker api
Diffstat (limited to 'docs/zh')
| -rw-r--r-- | docs/zh/manual.md | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/docs/zh/manual.md b/docs/zh/manual.md index 1271e09ce..a35280d3c 100644 --- a/docs/zh/manual.md +++ b/docs/zh/manual.md @@ -5216,12 +5216,10 @@ compiler.compile("xxx.c", "xxx.o") 直接获取[compiler.compile](#compiler-compile)中执行的命令行字符串,相当于: ```lua -local cmdstr = compiler.compcmd("xxx.c", "xxx.o", {incdepfile = incdepfile, target = target}) +local cmdstr = compiler.compcmd("xxx.c", "xxx.o", {target = target}) ``` -注:后面`{incdepfile = incdepfile, target = target}`扩展参数部分是可选的,如果传递了target对象,那么生成的编译命令,会加上这个target配置对应的链接选项。 - -如果传递了incdepfile,那么还会生成头文件依赖列表文件`xxx.d` +注:后面`{target = target}`扩展参数部分是可选的,如果传递了target对象,那么生成的编译命令,会加上这个target配置对应的链接选项。 并且还可以自己传递各种配置,例如: |
