例如1: gcc -c -MM -MD main.c生成的 main.d 文件内容如下:main.o: main.c defs.h例如1: gcc -c -MM -MD main.c -MP生成的 main.d 文件内容如下:main.o: main.c defs.hdefs.h: //该选项会生成该伪目标,其没有任何依赖项,若不使用 '-MP' 选项,则不会生成该伪目标规则 -MT Target 在...
files without updating the ‘Makefile’ to match.) 例如1: gcc -c -MM -MD main.c 生成的 main.d 文件内容如下: main.o: main.c defs.h 例如1: gcc -c -MM -MD main.c -MP 生成的 main.d 文件内容如下: main.o: main.c defs.h defs.h: //该选项会生成该伪目标,其没有任何依赖项,...
会继续执行 make, #主要是考虑到首次 make 时,目录中若不存在 '*.d' 文件时, #加载便会产生错误而停止 make 的执行 -include $(DEPS) %.o:%.c gcc -c -g -Wall $< -o $@ -MD -MF $*.d -MP main: $(OBJS) gcc $^ -o $@ #注释:...
gcc/gcc_helloworld$ man gcc | grep -w '\-P' 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...
-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...
Werror=format=2 -fvisibility=hidden -O2 -I/media/kofec/Linux/openwrt/kirkwoodTrunk/staging_dir/host/include -I/media/kofec/Linux/openwrt/kirkwoodTrunk/staging_dir/host/usr/include -MT libglib_2_0_la-gdate.lo -MD -MP -MF .deps/libglib_2_0_la-gdate.Tpo -c gdate.c -o libglib_2...
-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...
28、MSG_ASSEMBLING = Assembling:MSG_CLEANING = Cleaning project:# Define all object files.OBJ = $(SRC:.c=.o) $(ASRC:.S=.o) # Define all listing files.LST = $(SRC:.c=.lst) $(ASRC:.S=.lst) # Compiler flags to generate dependency files.GENDEPFLAGS = -MD -MP -MF .dep/$(F...
-MF File当使用了 “-M” 或者 “-MM” 选项时,则把依赖关系写入名为 “File” 的文件中。若同时也使用了 “-MD” 或“-MMD”,“-MF” 将覆写输出的依赖文件的名称 。 编辑-MD等同于 -M -MF File,但是默认关闭了 -E 选项。其输出的文件名是基于 -o 选项若给定了 -o 选项,则输出的依赖文件名...
gcc是写在 ./configure 里面的,而 ./configure 是检测运行环境并且生成 Makefile 的。对于你这个问题...