delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/17/00:51:03

From: afn03257 AT freenet3 DOT afn DOT org (Daniel P Hudson)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Size of EXE
Date: 16 Jan 1997 19:35:29 GMT
Lines: 17
Message-ID: <5blvu1$cb7@huron.eel.ufl.edu>
References: <32dc427c DOT 81435113 AT news DOT mcgill DOT ca>
NNTP-Posting-Host: freenet3.afn.org
NNTP-Posting-User: afn03257
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

jaddle AT po-box DOT mcgill DOT ca (Jonathan Addleman) wrote:
>    I'm new to programming, just so you know...

>After writing and compiling a few simple programs with DJGPP, I've
>noticed that the EXE is rather large... 80k! I'm guessing that this is

Welcome to the world of HLL's. They aren't meant to write small progs,
if it needs to be that small, you use asm.

>due the the compiler attaching all of the libraries and/or headers
>used. If so, shouldn't the compiler check to see what code the program
>actually needs, and only use that? This program is still quite small,
>but a similar program compiled in TP6.0 is just a few bytes. Why is
>this?

 Does TP 6.0 run under 32bit protected mode and support DPMI?
 Seems to me it didn't. 

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019