mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-06 12:26:03 +02:00
20 lines
414 B
Markdown
20 lines
414 B
Markdown
![]() |
# C99
|
||
|
|
||
|
> Compiles C programs according to the ISO C standard.
|
||
|
|
||
|
- Compile source files and create an executable:
|
||
|
|
||
|
`c99 {{file.c}}`
|
||
|
|
||
|
- Compile source files and create an executable with a custom name:
|
||
|
|
||
|
`c99 -o {{executable_name}} {{file.c}}`
|
||
|
|
||
|
- Compile source files and create object files:
|
||
|
|
||
|
`c99 -c {{file.c}}`
|
||
|
|
||
|
- Compile source files, link with object files, and create an executable:
|
||
|
|
||
|
`c99 {{file.c}} {{file.o}}`
|