This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [Sim] New sim/common/cgen.sh
Ben Elliston writes:
> > I have also just fixed genmloop.sh so that it has an -outfile-suffix option.
> > This allows the generated files to form unique filenames -- so it, too, can
> > be run by a parallel make.
>
> Can't this problem be solved without adding an option?
>
> Can you suggest how?
The theory is that the script is already being passed something it can use.
There's the -cpu argument. I dunno if your @prefix@ patches change whether
genmloop.sh should use @cpu@ or @prefix@, but won't one of them
(whichever it is) be sufficient to separate the output files?