LINUX - gcc

gcc bc -c ao // gcc compiler source file ac will preprocess, compile, link is not the last generation is the object file (object files), here bo, which belong to the middle stage of the compilation process, and then after the link, in order to ultimately generate an executable file.

gcc bc // gcc compiler source file min.c will preprocess, compile, and link the final executable file, the default is a.out

// output a warning message when compiling gcc -Wall

gcc -g // 1. Create a symbol table, symbol table contains a list of variable names used in the program. 2. Turn off all the optimization mechanism, so that during program execution in strict accordance with the original C code. --------- For the code needs gdb positioning is critical;

Guess you like

Origin www.cnblogs.com/wangqiwen-jer/p/11082773.html
Recommended