Mail Archives: djgpp/1995/07/17/10:55:22
I have written a text editor in Gnu C++.
To link it I call this .BAT file (version 1):-
call gcc main.o cc.o em.o display.o macros.o keyf.o -lpc
copy /B c:\djgpp\bin\go32.exe + a.out emacs.exe
del a.out
This runs OK. But just now I tried this .BAT file (version 2):-
call gcc main.o cc.o em.o display.o macros.o keyf.o -lpc
call strip a.out
copy /B c:\djgpp\bin\go32.exe + a.out emacsstr.exe
del a.out
to strip the symbols out of the A.OUT on the way to save space.
But both times I called version 2, my PC spontaneously <<<<re-booted>>>>.
I then typed the instructions of version 2 one by one myself, and they all
worked as expected.
It seems that djgpp STRIP doesn't like running from a .BAT file.
I wasn't logged in to my Novell server at the time.
(P.S. What in general makes PC's spontaneously re-boot?)
- Raw text -