Re: -MM and -MMD are not ignoring #include <xx.h> files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Tim,

>Now I thought that -MM should not include <a.h> in the depenancy list.

>What's going on.  What am I missing?

What's going on is that you are using -I instead of -idirafter.

-I adds a path to the general include path list.

-idirafter adds a path to the system include path list.

The -MM and -MMD filter out the system include path list, not the general include path list.

HTH,
--Eljay


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux