1, use VI or VIM to write program files
2. Use GCC to translate all source files into computer-aware format (compilation)
3. Use the./a.out executable file as command execution
Working steps for the GCC compiler:
1. Handle all pre-processing instructions
2, the first step of the processing structure translated into computer-recognized format (compilation)
3. Merge the results of the second part into the final executable file (link)
GCC options:
-E only handles all preprocessor directives
-C only completes preprocessing and compilation (no links are compiled)
The processing result is a target file with an. o as the extension
-O is used to determine the name of the resulting file to be compiled.
-std=c89/-std=c99
Used to decide to compile with that version of the specification
The C89 specification is used by default
Basic steps for Linux system--c Language Program development (basic steps including GCC)