Message-ID: <13cc01c30998$bf42a240$0600000a@broadpark.no> From: "Gisle Vanem" To: References: <115901c3090a$0f41cf80$0600000a AT broadpark DOT no> <8971-Wed23Apr2003131504+0300-eliz AT elta DOT co DOT il> Subject: Re: temp file not deleted Date: Wed, 23 Apr 2003 15:03:34 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1123 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1123 Reply-To: djgpp AT delorie DOT com "Eli Zaretskii" said: > An important piece of info that I miss: what does your environment > and/or Makefile specify as the SHELL? Is it 4DOS, Bash, COMMAND.COM, > or something else? I have no SHELL defined (neither in environment, Makefile nor djgpp.env). My COMSPEC is 'c:\4dos\4dos.com'. BTW. I've never been able to set "SHELL = $(DJDIR)/bin/bash.exe" in a Makefile and let it take effect. AFAICR, %comspec is always used. > > depend: > > $(CC) -MM $(CFLAGS) $(SOURCE) | \ > > sed -e 's/^\([a-zA-Z0-9_-]*\.o:\)/'$(OBJ_DIR)'\/\1/' > depend.dj > > > > $(CC) -MM $(CFLAGS) $(SPECIAL_SRC) -Dheader=\"fesupp.h\" | \ > > sed -e 's/^\([a-zA-Z0-9_-]*\.o:\)/'$(OBJ_DIR)'\/\1/' >> depend.dj > > > > (the empty line is intentional; makes it more readable) > > > > I wonder why make creates *two* temp files at the same time; > > i.e $(TMP)/DJ100000 and $(TMP)/DJ200000 before the 2nd $(CC) > > command is run. > > One is for the pipe emulation, the other I don't know. If you remove > the empty line, does that change anything? No. > > And a '$(TMP)/vdm1a7a.tmp' file is also present. > > This one is not ours; I'm guessing it comes from 4DOS or from Windows. Yes, my guess is it's created by NTVDM. 4DOS creates temp files as 4***.SWP or 4*.000. --gv