正在加载图片...
⑧安薇理工大学 ANHUI UNIVERSITY OFSCIENCE TECHNOLOG 21 GNU C/C++编译器的使用 gcc编译器选项和参数 参数 含义 -o <file> Place the output into <file> C Compile and assemble, but do not 99 db Produce debugging information for use by GDB O the compiler tries to reduce code size and execution time without performing any optimizations that take a great deal of com-pilaTion Time Produce debugging information in the operating systems native format. GDB can work with this debugging information I <dir> Add the directory dir to the list of directories to be searched for header files. Directories named by-i are searched before the L<dir> Search the library named library when linking8 2.1 GNU C/C++编译器的使用 gcc 编译器选项和参数 参数 含义 -o <file> Place the output into <file> -c Compile and assemble, but do not link -ggdb Produce debugging information for use by GDB. -O the compiler tries to reduce code size and execution time, without performing any optimizations that take a great deal of com-pilation time. -g Produce debugging information in the operating system's native format. GDB can work with this debugging information. -I <dir> Add the directory dir to the list of directories to be searched for header files. Directories named by -I are searched before the -L <dir> Search the library named library when linking
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有