1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-03-28 21:16:20 +01:00
tldr/pages/common/c99.md
2021-04-18 15:33:27 +01:00

472 B

c99

Compiles C programs according to the ISO C standard. More information: https://manned.org/c99.

  • 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}}