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

From: sandmann AT clio DOT rice DOT edu (Charles Sandmann)
Message-Id: <10306211632.AA16864@clio.rice.edu>
Subject: Re: dxe acting up
To: djgpp-workers AT delorie DOT com
Date: Sat, 21 Jun 2003 11:32:33 -0500 (CDT)
In-Reply-To: <200306211320.h5LDKAd1002972@speedy.ludd.luth.se> from "ams@ludd.luth.se" at Jun 21, 2003 03:20:10 PM
X-Mailer: ELM [version 2.5 PL2]
Mime-Version: 1.0
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 ams AT ludd DOT luth DOT se:
> > I can't rebuilt DJGPP anymore. dxe complains:
> > 
> > ./../../hostbin/dxegen.exe ./../../bin/emu387.dxe __emu_entry src/emu387.o id_emu.o src/emudummy.o -L../../lib e:/djgpp/lib/gcc-lib/djgpp/2.953/libgcc.a -lc e:/djgpp/lib/gcc-lib/djgpp/2.953/libgcc.a
> > dxegen: cannot open linker output file `$$dxe$$.o'
> > make.exe[1]: *** [../../bin/emu387.dxe] Error 254
> > make.exe: *** [subs] Error 2
> 
> 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.

I'm on a conection that could be compared to a tin-can and strings, so
I really can't fix it right now.  The old dxe used dxe__tmp.
I would suggest using dxe_tmp? (where ? is one of the many suffixes)
and could probably be done with a #define at the top to make it 
consistent and in a single place.

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

If somone else doesn't get to it I'll try to do it around 4-Jul or late
July

- Raw text -


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