delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/06/21/12:54:52

From: <ams AT ludd DOT luth DOT se>
Message-Id: <200306211654.h5LGshsg029676@speedy.ludd.luth.se>
Subject: Re: dxe acting up
In-Reply-To: <10306211632.AA16864@clio.rice.edu> "from Charles Sandmann at Jun
21, 2003 11:32:33 am"
To: djgpp-workers AT delorie DOT com
Date: Sat, 21 Jun 2003 18:54:43 +0200 (CEST)
X-Mailer: ELM [version 2.4ME+ PL78 (25)]
MIME-Version: 1.0
X-MailScanner: Found to be clean
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

According to Charles Sandmann:
> > According to ams AT ludd DOT luth DOT se:
> > I figured it out. $$ is expanded to the current pid. Either that was
> > intended and brokenly done (unlikely) or it wasn't intended and
> > "$$dxe$$" should be replaced with "tmp_dxe" or something.
> 
> Ok, so this is only seen under certain shells.
> 
> All of these strings are in dxe3gen.c - there are some defines but I'm
> not sure they are used universally, and there are lots of examples of $$dxe
> in the code for various temporary files.

This works for me building DJGPP:

Index: djgpp/src/dxe/dxe3gen.c
===================================================================
RCS file: /cvs/djgpp/djgpp/src/dxe/dxe3gen.c,v
retrieving revision 1.3
diff -p -u -r1.3 dxe3gen.c
--- djgpp/src/dxe/dxe3gen.c     14 May 2003 02:33:49 -0000      1.3
+++ djgpp/src/dxe/dxe3gen.c     21 Jun 2003 14:16:57 -0000
@@ -31,8 +31,8 @@
 
 #define VERSION "1.0"
 
-#define TEMP_O_FILE    "$$dxe$$.o"
-#define TEMP_S_FILE    "$$dxe$$.s"
+#define TEMP_O_FILE    "tmp_dxe.o"
+#define TEMP_S_FILE    "tmp_dxe.s"
 
 #define VALID_RELOC(r) ((r.r_type != RELOC_REL32) && (r.r_symndx != -1UL))


I suppose dxe_tmp would work just as fine.

> (I'm in the chemical plant now cycling the optimizer while everyone else
> here is celebrating Midsomar).

(It's Midsommar. Double-m.)


Right,

						MartinS

- Raw text -


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