This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA]: simulator build failures with parallel make
- To: Eli Zaretskii <eliz at is dot elta dot co dot il>
- Subject: Re: [RFA]: simulator build failures with parallel make
- From: "Paul D. Smith" <psmith at gnu dot org>
- Date: Mon, 16 Apr 2001 21:21:49 -0400
- Cc: "H . J . Lu" <hjl at lucon dot org>, "J.T. Conklin" <jtc at redback dot com>, Andrew Cagney <ac131313 at cygnus dot com>, gdb-patches at sourceware dot cygnus dot com
- Organization: GNU's Not Unix!
- References: <20010415135646.A25615@lucon.org><Pine.SUN.3.91.1010416094820.28005E-100000@is>
- Reply-To: "Paul D. Smith" <psmith at gnu dot org>
%% Eli Zaretskii <eliz@is.elta.co.il> writes:
ez> but GNU Make should have a cleaner feature for when a command
ez> produces several target files in a single run. (Pattern rules
ez> only work well when all the files created by the program have the
ez> same stem; if not, you need to define your patterns
ez> ``creatively''.)
Agree 100%; I've often wished for a way to do multiple targets with
explicit rules.
But, as always, the hurdles are (a) finding a decent syntax which is
also backward compatible (or at least largely so), and (b) finding the
time to implement it; this is probably not a lot of actual code, but it
does involve tiptoeing through some pretty hairy parts of the make
sources.
For (a), someone suggested using "+:" as a separator to denote that the
targets are all built at once which, while not strictly backwards
compatible, is not too bad.
--
-------------------------------------------------------------------------------
Paul D. Smith <psmith@gnu.org> Find some GNU make tips at:
http://www.gnu.org http://www.paulandlesley.org/gmake/
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist