mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-10-30 22:17:57 +01:00
as: add Chinese translation.
This commit is contained in:
parent
bedea9a804
commit
b1306156df
1 changed files with 20 additions and 0 deletions
20
pages.zh/linux/as.md
Executable file
20
pages.zh/linux/as.md
Executable file
|
@ -0,0 +1,20 @@
|
|||
# as
|
||||
|
||||
> 一个可移植的GUN汇编器.
|
||||
> 主要用于汇编`gcc`的输出,以供链接器`ld`使用.
|
||||
|
||||
- 汇编一个文件,输出为a.out:
|
||||
|
||||
`as {{文件.s}}`
|
||||
|
||||
- 汇编文件,并指定输出文件:
|
||||
|
||||
`as {{文件.s}} -o {{输出.o}}`
|
||||
|
||||
- 通过跳过空格和注释的预处理过程来更快的产生输出文件(只应该用于可信任的编译器的输出):
|
||||
|
||||
`as -f {{文件.s}}`
|
||||
|
||||
- 将给定路径添加到目录列表,来搜索.include指令指定的文件:
|
||||
|
||||
`as -I {{目录路径}} {{文件.s}}`
|
Loading…
Reference in a new issue