This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: dlltool not make -j2 friendly?
- To: cygwin-apps at cygwin dot com
- Subject: Re: dlltool not make -j2 friendly?
- From: Charles Wilson <cwilson at ece dot gatech dot edu>
- Date: Sun, 04 Nov 2001 00:47:00 -0500
- References: <20011103233107.A5247@redhat.com>
Urk. No, dlltool.c has the following snippet:
#define TMP_ASM "dc.s"
#define TMP_HEAD_S "dh.s"
#define TMP_HEAD_O "dh.o"
#define TMP_TAIL_S "dt.s"
#define TMP_TAIL_O "dt.o"
#define TMP_STUB "ds"
Looks pretty ugly. I mean, you *could*
#define TMP_ASM mktemp("dcXXXXXX.s")
or something, but then you're not error checking the result...
--Chuck
Christopher Faylor wrote:
> Has anyone noticed that dlltool does not play well with make -jN?
>
> I was running multiple builds in the cygwin directory but was getting
> SEGVs from dlltool. The reason is that multiple runs of dlltool are
> creating temporary object and assembler files in the build directory
> with the same name, which causes all sorts of confusion.
>
> I don't see any obvious way to avoid this in the dlltool documentation.
> Is anyone aware of anything that I could do to alleviate this problem?
>
> cgf
>