Mail Archives: djgpp/1999/09/17/05:52:41
Eli Zaretskii wrote:
> On Wed, 15 Sep 1999, Tony Welsh wrote:
>
> > > Do you see the temporary file (c:/djgpp/tmp\ccnTHF0i.i in this
> > > case) on disk after the crash?
> >
> > Yes, and it is blank, size 0 bytes.
>
> This is expected if cpp and gcc are aborted by Windows.
>
> > C:\djgpp\src>c:\djgpp\lib\gcc-lib\djgpp\2.95\cpp -lang-c -isystem
> > C:/djgpp/include
> > chap01_1.c c:/djgpp/tmp\cc3CiKyf.i
> > (a file from this morning that crashed as normal with an option 'c')
> >
> > both execute without errors or for that matter any error messages, it just
> > returns to the prompt after execution.
>
> So the problem only happens when cpp is invoked from GCC, or from
> another DJGPP program... Hmmm...
>
> Please try the same invocation of cpp, but this time from go32-v2.
> That is, prepend "go32-v2" to the above command line when you type it
> at the prompt. Does this work or does it crash?
It appears to hang, that is is does not create any error messages but does not
give me a prompt back either... Given this is a P3 550 I don't think that it
should take this long to do a file that short...
Bizarrly it feels like a loop of some kind, as if I CTRL-C and hit return I
can
get a prompt prompt back after this message.
^C
Exiting due to signal SIGINT
INTR key Pressed at eip=00022be4
==
Microsoft(R) Windows 98
(C)Copyright Microsoft Corp 1981-1998.
C:\djgpp>cd src
C:\djgpp\src>go32-v2 c:\djgpp\lib\gcc-lib\djgpp\2.95\cpp -lang-c -isystem
C:/djgpp/include
go32/v2: Error: c:\djgpp\lib\gcc-lib\djgpp\2.95\cpp: No such file or directory
(ENOENT)
C:\djgpp\src>go32-v2 c:\djgpp\lib\gcc-lib\djgpp\2.95\cpp.exe -lang-c -isystem
C:/djgpp/include
==
> > I notice that after these are
> > executed, the temporary file mentioned is filled with what looks like the
> > original source code but without any non-executable lines... (see
> > cc3CiKyf.i and chap01_1.c attached).
> > Which is I assume preprocessing
>
> Yes, this is how the preprocessor should work.
>
> Btw, did you edit your djgpp.env file in any way? Also, what version
> of the specs file (in the DJGPP's lib subdirectory) are you using--the
> one from djdev202.zip or the one from gcc295b.zip?
I ran down the list of zips uncompressing them in the stated order.
DJDEV202.ZIP is before GCC295.ZIP in the zip-picker list, so it would be the
GGC
specs that were the last to be decompressesd. And I haven't edited the .env
file, everything looked fine, the long filename option was set to Y so I
didn't
see the need to meddle.
- Raw text -