[patch/rfc] Generate makefile dependencies

Andrew Cagney cagney@gnu.org
Fri Mar 19 00:09:00 GMT 2004


>>Date: Mon, 08 Mar 2004 11:24:20 -0500
>>> From: Andrew Cagney <cagney@gnu.org>
>>
>>>> > 
>>>> > Won't it be better to use "gcc -MM" when we compile with GCC?
>>
>>> 
>>> It would, except we can't assume GCC :-(.
> 
> 
> We can't assume, but we can test (and I think we do test already,
> right?).

It isn't the ability to test for GCC's presence thats the problem. 
It's that by conditionally using GCC we end up with two code paths - one 
of which will rarely be used and rarely be tested.

Andrew




More information about the Gdb-patches mailing list