Re: makefile generation with gcc

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

 



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.

[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