2016-09-22 08:03:38 +01:00
|
|
|
# c99
|
2016-02-22 22:59:27 +00:00
|
|
|
|
|
|
|
> Compiles C programs according to the ISO C standard.
|
2021-03-31 11:20:16 +01:00
|
|
|
> More information: <https://man.archlinux.org/man/c99.1p>.
|
2016-02-22 22:59:27 +00:00
|
|
|
|
2016-02-23 00:35:42 +00:00
|
|
|
- Compile source file(s) and create an executable:
|
2016-02-22 22:59:27 +00:00
|
|
|
|
|
|
|
`c99 {{file.c}}`
|
|
|
|
|
2016-02-23 00:35:42 +00:00
|
|
|
- Compile source file(s) and create an executable with a custom name:
|
2016-02-22 22:59:27 +00:00
|
|
|
|
|
|
|
`c99 -o {{executable_name}} {{file.c}}`
|
|
|
|
|
2016-02-23 00:35:42 +00:00
|
|
|
- Compile source file(s) and create object file(s):
|
2016-02-22 22:59:27 +00:00
|
|
|
|
|
|
|
`c99 -c {{file.c}}`
|
|
|
|
|
2016-02-23 00:35:42 +00:00
|
|
|
- Compile source file(s), link with object file(s), and create an executable:
|
2016-02-22 22:59:27 +00:00
|
|
|
|
|
|
|
`c99 {{file.c}} {{file.o}}`
|