Date: Tue, 28 Jan 1997 16:23:12 +0200 (IST) From: Eli Zaretskii To: Jonathan Kapleau cc: djgpp AT delorie DOT com Subject: Re: DJGPP v. gcc In-Reply-To: <5cj9it$ho8$1@spasmolytic.openix.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On 27 Jan 1997, Jonathan Kapleau wrote: > Maybe this is a stupid question, but how come when I compile a simple > program (i.e. "Hello, World!") using DJGPP on my pc using only the > header file it compiles to something like 80k, but when I > compile it using gcc under Linux the same program compiles to about 4k. GCC on Linux supports shared libraries, so all of the library functions your program calls aren't at all put into the program, they are loaded at runtime. DJGPP doesn't support shared libraries.