This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB 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: [patch/rfc] Generate makefile dependencies


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



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