mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-12-26 18:32:41 +03:00
20 lines
426 B
Markdown
20 lines
426 B
Markdown
# 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}}`
|