This is the mail archive of the
mailing list for the GDB project.
Re: [RFA]: simulator build failures with parallel make
- To: Andrew Cagney <ac131313 at cygnus dot com>
- Subject: Re: [RFA]: simulator build failures with parallel make
- From: jtc at redback dot com (J.T. Conklin)
- Date: 15 Apr 2001 12:54:34 -0700
- Cc: gdb-patches at sourceware dot cygnus dot com
- References: <email@example.com> <3ACE0606.1A63BF3D@cygnus.com>
- Reply-To: jtc at redback dot com
>>>>> "Andrew" == Andrew Cagney <firstname.lastname@example.org> 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.
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
serialize the process. I've confirmed that simops.h is either a
the sole target of a rule (most of the cases), or that there is a
Andrew> Any way, assuming you've played with it with using both make and gmake
Andrew> and it appears ok then yes.
Thanks. This will be going in shortly.