This is the mail archive of the
mailing list for the GDB project.
Re: [patch/rfc] Generate makefile dependencies
Date: Mon, 08 Mar 2004 11:24:20 -0500
From: Andrew Cagney <firstname.lastname@example.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,
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.