例如1: gcc-c-MM-MDmain.c-MP生成的 main.d 文件内容如下: main.o: main.c defs.h defs.h://该选项会生成该伪目标,其没有任何依赖项,若不使用 '-MP' 选项,则不会生成该伪目标规则 -MT Target 在生成的依赖文件中,指定依赖规则中的目标 例如: gcc -MF main.d -MG -MM -MP -MT main.d -M...
若同时也使用了 ‘-MD’ 或‘-MMD’,’-MF’ 将覆写输出的依赖文件的名称 例如:gcc -M -MF main.d main.c 则'—M' 输出的内容就存在于 main.d 文件中了 1. 2. -MD 等同于 ‘-M -MF File’,但是默认关闭了 ‘-E’ 选项. 其输出的文件名是基于 ‘-o’ 选项,若给定了 ‘-o’ 选项,则输...
gcc -c -MM -MD main.c -MP 生成的 main.d 文件内容如下: ---> main.o: main.c defs.h #该选项会生成该伪目标,其没有任何依赖项, #若不使用 '-MP' 选项,则不会生成该伪目标规则 defs.h: <--- 1 2 3 4 5 6 7 8 9 10 -MT Target 在生成的依赖文件中,指定依赖规则中的目标 例: gc...
-MM 与-M相似,只是不包含系统头文件 -MF file 将依赖关系写到文件file中 -MT target 重新定义目标对象名。默认的依赖目标名为% (编译生成的%.o)。 -MD/MMD 默认将生成的依赖文件写入%.d(编译生成的%.o)中。可以用-MF指定文件来覆盖。 示例makefile如下: objs =a.o b.o c.o dep_files := $(pats...
file -M -MD -MF -MG -MM -MMD -MP -MQ -MT -no-integrated-cpp -P -pthread -remap -traditional inhibited with the negated form -fno-working-directory. If the -P flag is present in the command line, this option -P Inhibit generation of linemarkers in the output from the preprocessor...
-MF File当使用了 “-M” 或者 “-MM” 选项时,则把依赖关系写入名为 “File” 的文件中。若同时也使用了 “-MD” 或“-MMD”,“-MF” 将覆写输出的依赖文件的名称 。 编辑-MD等同于 -M -MF File,但是默认关闭了 -E 选项。其输出的文件名是基于 -o 选项若给定了 -o 选项,则输出的依赖文件名...
-mfused-madd -mno-fused-madd -mfsca -mno-fsca -mfsrra -mno-fsrra -mpretend-cmove -mtas Solaris 2 Options -mimpure-text -mno-impure-text -pthreads -pthread SPARC Options -mcpu=cpu-type -mtune=cpu-type -mcmodel=code-model -mmemory-model=mem-model -m32 -m64 -mapp-regs -mno-ap...
-o /home/sir/cc-sir/glibc-2.23/misc/regexp.os -MD -MP -MF /home/sir/cc-sir/glibc-2.23/misc/regexp.os.dt -MT /home/sir/cc-sir/glibc-2.23/misc/regexp.os /tmp/cc2dus00.s: Assembler messages: /tmp/cc2dus00.s: 错误:`loc1@GLIBC_2.2.5' can't be versioned to common symbol...
gcc -M -MM -MQ -MF -MT -MD 2017-08-23 18:28 −... suonikeyinsu 0 5530 GCC编译器 2019-12-12 16:22 −简介 GCC是LINUX环境下的编译工具集,是GNU Compiler Collection的缩写,其中包含gcc、g++等编译器及ar、nm等工具集。 GCC工具集不仅能编译C/C++语言,其他如Objective-C、Pascal、Fortran、...
-gdwarf-2 -DF_CPU=8000000UL -Os -fsigned-char -MD -MP -MT main.o -MF dep/main.o....