delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/21/12:51:10

From: j DOT aldrich6 AT genie DOT com
Message-Id: <199607211646.AA145747601@relay1.geis.com>
Date: Sun, 21 Jul 96 16:36:00 UTC 0000
To: farhany AT interlog DOT com
Cc: djgpp AT delorie DOT com
Mime-Version: 1.0
Subject: Re: Debug-like info

Reply to message 9288515    from FARHANY AT INTER on 07/17/96  9:53PM


>I am fairly new to DGJPP. By looking at the end of the EXEs compiled, there
>seems to be some sort of "debug" information appeneded to the EXE. Is there
>a way to avoid it's appendage (assuming it is debug info)?

Of course!  Just use the -s switch when you compile to get rid of that
extra data.  You should be warned, however, that doing so will
prevent source-level debuggers from functioning, as well as the
'symify' program that comes with DJGPP.  Unless your program
is completely debugged or so small that it's trivial to debug, I
wouldn't recommend stripping the symbols.

If you're looking to save space in the executable, there are a number
of ways you can go about it, including compiling with '-s', defining
certain functions in the startup code to be empty, and compressing
the executable with DJP, the DJGPP executable packer.  Complete
details can be found in the FAQ, section 8.15.

Good luck!

John

- Raw text -


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