delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/07/17/10:55:22

From: "A.Appleyard" <A DOT APPLEYARD AT fs2 DOT mt DOT umist DOT ac DOT uk>
To: DJGPP AT SUN DOT SOE DOT CLARKSON DOT EDU
Date: Mon, 17 Jul 1995 11:53:47 BST
Subject: Bad craziness in STRIP

  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 -


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