1. Composition of the development environment
- Editor Vim,vi
- Compiler GCC
- Debugger GDB
- function library glibc
- System Header File Glibc_header
2.GCC compiler
Powerful and superior multi-platform compiler, GCC can compile and connect C, C + + language source programs into executable files.
file with. c suffix, C language source code file
A file with a suffix of. h is a header that is included in the program.
Files with. I suffix are pre-preprocessed C source code files
Files with an. o suffix are the compiled target files
. s is the suffix of the file, is the assembly language source code files
Options for the GCC compiler
-O requires output executable file
-C requires the compiler to output the target code without the need to output an executable file
-G requires the compiler to output debugging information at compile time
3.glibc
is the main function library of C under Linux
A C library that provides system calls and basic functions that all dynamic, connected programs use.
4.glibc_header
If the system header file is missing, many C programs that use the system function will not compile
View the version of GLIBC
ls/lib/lib-*
View GCC versions
GCC--version
Development environment for Linux C programs