On 1/1/06, Dima Sorkin wrote: Sorry for replying to myself , but I found the answer
This change of gcc4 vs gcc3 makes some problems for me: gcc3: with -MM -MP: missing header files are ignored. gcc4: with -MM -MP: if some header file not found - it results in error. with -MM -MP -MG: all names of missing headers are written as is. I want to auto-generate dependencies between my header-files. Some of my header files include headers from external libraries of huge size (for example "BOOST C++ lib").
All "external" headers' paths (BOOST etc.) should be supplied under "-isystem" option, and not "-I", when automatic dependency generation is done. Dima.