Re: [patch/rfc] Generate makefile dependencies

Andrew Cagney
2004-03-08T17:58:50Z

>>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