This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: request for timings - makedepend


Daniel Jacobowitz wrote:
On Mon, Mar 07, 2005 at 07:56:05PM -0800, Mark Mitchell wrote:

We do need a story for generated headers. I'd be happy with explicit dependencies in the Makefiles indicating what source files depend on what generated headers. We'd still be able to get rid of 99% of the dependencies in our Makefiles, and avoid most of the cases where something either (a) fails to get rebuilt, or (b) gets rebuilt too often.


Except, this is the most frequently reported dependency problem -
missing dependencies on the generated headers lead to parallel build
failure.

I didn't realize that. Yes, something that depends on appropriate coding conventions in the #include'ing files, seems reasonable. Maybe cpplib could even be hacked to have a mode where (when generating dependencies) it silently permits #include of an non-existing file, considers it a dependency in the current directory, and just keeps going? I have insufficient cpplib taste to know whether or not that's a truly awful idea. :-)


--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]