Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com Message-ID: <3BE4D654.9030908@ece.gatech.edu> Date: Sun, 04 Nov 2001 00:47:00 -0500 From: Charles Wilson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.2) Gecko/20010726 Netscape6/6.1 X-Accept-Language: en-us MIME-Version: 1.0 To: cygwin-apps AT cygwin DOT com Subject: Re: dlltool not make -j2 friendly? References: <20011103233107 DOT A5247 AT redhat DOT com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 >