Date: Mon, 26 Jul 1999 16:18:56 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Peter Korsgaard cc: djgpp AT delorie DOT com Subject: Re: makig tiny programs with djgpp In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk 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.