Re: [patch/rfc] Generate makefile dependencies

Andrew Cagney
2004-03-08T18:35:17Z

>>>So what about using the output of gcc -MM (or one of the other -M
>>>> >options?) to generate dependencies in the source directory, like BFD
>>>> >does?
>>
>>>
>>> How is embedding this stuff in the source directory better?
>
>
> Because it doesn't need to rely on assumptions about the GDB coding
> style, and it doesn't require parsing all the source files when we
> configure?

Er, that's a postive - the dependency list is guarenteed to always match
the shipped source.

> It's like regenerating configure; we try not to run
> autoconf during the build process, and not just because autoconf is so
> finicky.

Andrew