Mail Archives: djgpp-workers/2003/06/21/12:54:52
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 -