Date: Tue, 22 Feb 2000 11:50:49 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Jens Luedicke cc: djgpp AT delorie DOT com Subject: Re: file-sizes of executables In-Reply-To: <200002211104.MAA21111@bird.de.uu.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: dj-admin AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Mon, 21 Feb 2000, Jens Luedicke wrote: > I created a simple Test-Source and compiled it > with each of my 3 C/C++ compilers, the result, was > really strange (I think that this is strange): I think it's meaningless, not strange: why does it matter how many bytes does a trivial 10-line program take? If you think it tells something important about the compiler, then you are wrong. See section 8.14 of the DJGPP FAQ list for more info. Anyway, without the command lines used to produce the programs, it's hard to say anything useful. > DJGPP: 102431 Bytes (fastest) Did you use -s when linking? > Mingw32: 9465 Bytes This uses dynamic libraries, so the executable doesn't include the library code. The FAQ explains this.