Mail Archives: djgpp/1999/09/16/14:45:26
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?
> 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?
- Raw text -