delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/04/23/08:00:06

From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: temp file not deleted
Date: Wed, 23 Apr 2003 09:12:59 +0100
Lines: 31
Message-ID: <3EA64B0B.CFDADB5F@phekda.freeserve.co.uk>
References: <115901c3090a$0f41cf80$0600000a AT broadpark DOT no> <3EA5CEEB DOT E69D898D AT phekda DOT freeserve DOT co DOT uk> <123601c3092a$29690250$0600000a AT broadpark DOT no>
NNTP-Posting-Host: 62.136.64.22
Mime-Version: 1.0
X-Trace: news8.svr.pol.co.uk 1051088470 17226 62.136.64.22 (23 Apr 2003 09:01:10 GMT)
NNTP-Posting-Date: 23 Apr 2003 09:01:10 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.23 i586)
X-Accept-Language: de,fr
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hello.

Gisle Vanem wrote:
> 
> "Richard Dawe" <rich AT phekda DOT freeserve DOT co DOT uk> said:
> 
> > > 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.
> > >
> > > GNU make 3.80 deletes dj200000 after it finishes, but dj100000
> > > is left in my $(TMP). And a '$(TMP)/vdm1a7a.tmp' file is also
> > > present.
[snip]

If I ever get time, I'll take a look at this problem. I've added it to my
DJGPP to-do list.

Bye, Rich =]

-- 
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]

- Raw text -


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