2016-09-22 08:03:38 +01:00
|
|
|
# c99
|
2016-02-22 17:59:27 -05:00
|
|
|
|
2024-04-25 19:58:21 -03:00
|
|
|
> Compile C programs according to the ISO C standard.
|
2021-04-12 08:54:04 +02:00
|
|
|
> More information: <https://manned.org/c99>.
|
2016-02-22 17:59:27 -05:00
|
|
|
|
2016-02-22 19:35:42 -05:00
|
|
|
- Compile source file(s) and create an executable:
|
2016-02-22 17:59:27 -05:00
|
|
|
|
|
|
|
`c99 {{file.c}}`
|
|
|
|
|
2024-02-19 11:13:42 -03:00
|
|
|
- Compile source file(s) and specify the executable [o]utput filename:
|
2016-02-22 17:59:27 -05:00
|
|
|
|
|
|
|
`c99 -o {{executable_name}} {{file.c}}`
|
|
|
|
|
2016-02-22 19:35:42 -05:00
|
|
|
- Compile source file(s) and create object file(s):
|
2016-02-22 17:59:27 -05:00
|
|
|
|
|
|
|
`c99 -c {{file.c}}`
|
|
|
|
|
2016-02-22 19:35:42 -05:00
|
|
|
- Compile source file(s), link with object file(s), and create an executable:
|
2016-02-22 17:59:27 -05:00
|
|
|
|
|
|
|
`c99 {{file.c}} {{file.o}}`
|