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: "J.T. Conklin" <jtc at redback dot com>
- Subject: Re: [RFA]: simulator build failures with parallel make
- From: "H . J . Lu" <hjl at lucon dot org>
- Date: Sun, 15 Apr 2001 13:13:43 -0700
- Cc: Andrew Cagney <ac131313 at cygnus dot com>,gdb-patches at sourceware dot cygnus dot com
- References: <5m8zlrot5g.fsf@jtc.redback.com> <3ACE0606.1A63BF3D@cygnus.com> <5m3dbac51h.fsf@jtc.redback.com>
On Sun, Apr 15, 2001 at 12:54:34PM -0700, J.T. Conklin wrote:
> >>>>> "Andrew" == Andrew Cagney <ac131313@cygnus.com> writes:
> Andrew> With that dependency added without -j does the generator get
> Andrew> run twice? I've this memory of a strange querk with make
> Andrew> dependencies and files being created as a sideeffect.
>
> No.
>
> But now that you've mentioned it, I recall that rules with multiple
> targets will be executed once per target with -j (at least with GNU
> make). This can be worked around by creating a psuedo-target to
Please don't add any workaround. Just provide complete dependencies,
any make, including GNU make, will be happy.
H.J.