Linux development environment-general Linux technology-Linux programming and kernel information. The following is a detailed description. Programming library
Header file
Assembler
Analyzer
Compiler
Linker
Debugger
Text Editor
Programming tools
Kernel source code file and header file/usr/src/linux
Indent can adjust the source code and code indent formats according to many predefined or custom standards to achieve the desired style.
The files generated by the tags Program (corresponding to etages on emacs) can enhance the editor's ability to browse and analyze source code.
Lclint quick syntax check to identify a large number of problems, including undeclared variables and functions, and possible memory corruption uption)
Text Editor
Vi
Emacs
Kdevelop
Nedit
Gnu cc (GCC) is the compiler suite of the GNU project. It can compile C, C ++, and Objective C language programs. With the help of g77, GCC can also compile Fortran programs.
The GCC compilation process is divided into four stages:
Preprocessing
Compile properly
Assembly
Link
GCC pre-processing program cpp, use the-E Option to tell GCC to stop the compilation process after preprocessing
-O FILE specifies the output FILE name. This option is not required during compilation of the target code. If FILE is not specified, the default FILE name is a. out.
-C: only compile without Link
-V shows the commands used in each step of the compilation process.
-Wall allows all useful warnings provided by GCC
-Ansi supports the standard syntax of ANSI/iso c and cancels the conflicting part of the GNU syntax extension with this standard (but this option does not guarantee the generation of ANSI compatible code)
-G contains standard debugging information in the executable program
-DFOO = BAR defines the pre-processing macro FOO in the command line, and its value is BAR
-IDIRNAME: Add DIRNAME to the list of search directories containing files.
-LDIRNAME: Add DIRNAME to the search directory list of the library file.
-LFOO: link the function library named libFOO.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.