mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-15 17:15:57 +02:00
commit
4a49782f31
1 changed files with 19 additions and 0 deletions
19
pages/common/c99.md
Normal file
19
pages/common/c99.md
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# C99
|
||||||
|
|
||||||
|
> Compiles C programs according to the ISO C standard.
|
||||||
|
|
||||||
|
- Compile source file(s) and create an executable:
|
||||||
|
|
||||||
|
`c99 {{file.c}}`
|
||||||
|
|
||||||
|
- Compile source file(s) and create an executable with a custom name:
|
||||||
|
|
||||||
|
`c99 -o {{executable_name}} {{file.c}}`
|
||||||
|
|
||||||
|
- Compile source file(s) and create object file(s):
|
||||||
|
|
||||||
|
`c99 -c {{file.c}}`
|
||||||
|
|
||||||
|
- Compile source file(s), link with object file(s), and create an executable:
|
||||||
|
|
||||||
|
`c99 {{file.c}} {{file.o}}`
|
Loading…
Add table
Reference in a new issue