delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/11/04/01:06:58

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
Date: Sun, 4 Nov 2001 01:07:24 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin-apps AT cygwin DOT com
Subject: Re: dlltool not make -j2 friendly?
Message-ID: <20011104010724.A11324@redhat.com>
Reply-To: cygwin-apps AT cygwin DOT com
Mail-Followup-To: cygwin-apps AT cygwin DOT com
References: <20011103233107 DOT A5247 AT redhat DOT com> <3BE4D654 DOT 9030908 AT ece DOT gatech DOT edu>
Mime-Version: 1.0
In-Reply-To: <3BE4D654.9030908@ece.gatech.edu>
User-Agent: Mutt/1.3.21i

On Sun, Nov 04, 2001 at 12:47:00AM -0500, Charles Wilson wrote:
>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...

I added a '-t' option in my source tree to allow a savvy dlltool user to
specify the prefix for the above TMP_* defines above:

dlltool -t '/tmp/foo' ...

Of course, this isn't a solution since Makefiles can't rely on the fact
that the current tools are available, I guess.

I also tried creating individual temporary directories for each dlltool
invocation.  That was really slow.

Eventually, I just decided on adding:

.NOTPARALLEL:

to the Makefile.in.

cgf

- Raw text -


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