February 23, 2005

gcc -S

以前改的也存下档吧,省得找不到了

为了查汇编文件输出

Rule.make

...
[snip]
%.o: %.c
$(CC) $(CFLAGS) $(EXTRA_CFLAGS_nostdinc) -DKBUILD_BASENAME=$(subst $(comma),_,$(subst -,_,$(*F))) $(CFLAGS_$@) -S $<
$(CC) $(CFLAGS) $(EXTRA_CFLAGS_nostdinc) -DKBUILD_BASENAME=$(subst $(comma),_,$(subst -,_,$(*F))) $(CFLAGS_$@) -c -o $@ $<
[snip]
...

Posted by hufey at February 23, 2005 03:13 PM
Comments
Post a comment









Remember personal info?