[Bug preprocessor/51341] make cannot detect head file change by dependency file with gcc 4.6.1 on ubuntu 11.10
dx_zhou at hotmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Nov 29 15:39:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51341
--- Comment #3 from davidz <dx_zhou at hotmail dot com> 2011-11-29 14:56:41 UTC ---
I am a little confused. -MT will create .d file. Then make command will include
.d and re-compile if dependency file changes. The issue is that g++ 4.6.1
doesn't re-compile if I touch .h. Does this mean my test.d format is wrong? If
I need another -MT, what syntax it should be? Thanks a lot!
(In reply to comment #2)
> This was an expected change, see
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12448 . Which says you need
> another -MT option to include the .o target.
More information about the Gcc-bugs
mailing list