mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-01 14:15:33 +02:00
clang: add -c example (#6494)
This commit is contained in:
parent
2dee424da0
commit
222f3e6130
1 changed files with 4 additions and 0 deletions
|
@ -18,3 +18,7 @@
|
||||||
- Compile source code into LLVM Intermediate Representation (IR):
|
- Compile source code into LLVM Intermediate Representation (IR):
|
||||||
|
|
||||||
`clang -S -emit-llvm {{file.c}} -o {{file.ll}}`
|
`clang -S -emit-llvm {{file.c}} -o {{file.ll}}`
|
||||||
|
|
||||||
|
- Compile source code without linking:
|
||||||
|
|
||||||
|
`clang -c {{input_source.c}}`
|
||||||
|
|
Loading…
Add table
Reference in a new issue