Mail Archives: djgpp/2003/04/23/09:04:11
"Eli Zaretskii" <eliz AT elta DOT co DOT il> 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
- Raw text -