Mail Archives: djgpp/1999/07/26/09:21:19
On Mon, 26 Jul 1999, Peter Korsgaard wrote:
> Without debugging information the smallest
> programs I can make is still around 20k after packing - which is because
> libc and libgcc are linked onto the executable.
If you don't use any of the library functions, then only the startup code
is linked from the libraries. Without the startup code, your program
won't be able to switch to protected mode and set up its execution
environment (memory, code and data segments, etc.) If you want to get
rid of the startup code, you will need to write your own, stripped-down
versions of it.
- Raw text -