mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
adscript: add Chinese translation (#8539)
This commit is contained in:
parent
0fbe2488eb
commit
47ac632811
1 changed files with 20 additions and 0 deletions
20
pages.zh/common/adscript.md
Normal file
20
pages.zh/common/adscript.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# adscript
|
||||
|
||||
> 用于 Adscript 文件的编译器。
|
||||
> 更多信息:<https://github.com/Amplus2/Adscript>.
|
||||
|
||||
- 将一个文件编译为一个对象文件:
|
||||
|
||||
`adscript --output {{路径/到/文件.o}} {{路径/到/输入文件.adscript}}`
|
||||
|
||||
- 编译并链接一个文件到一个独立的可执行文件:
|
||||
|
||||
`adscript --executable --output {{路径/到/文件}} {{路径/到/输入文件.adscript}}`
|
||||
|
||||
- 将文件编译成 LLVM IR 而不是本地机器码:
|
||||
|
||||
`adscript --llvm-ir --output {{路径/到/文件.ll}} {{路径/到/输入文件.adscript}}`
|
||||
|
||||
- 将一个文件交叉编译为一个其他 CPU 架构或操作系统的目标文件:
|
||||
|
||||
`adscript --target-triple {{i386-linux-elf}} --output {{路径/到/文件.o}} {{路径/到/输入文件.adscript}}`
|
Loading…
Add table
Reference in a new issue