delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/11/04/00:46:52

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: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs>
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 <cwilson AT ece DOT gatech DOT edu>
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>

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
> 


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019