Mail Archives: djgpp/1996/07/21/12:51:10
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 -