Message-Id: <199709170204.MAA02657@rabble.uow.edu.au> Subject: Re: DJGPP makes big .exe's To: avenger3 AT hotmail DOT com (`Lord_RaT~) Date: Wed, 17 Sep 1997 12:04:31 +1000 (EST) Cc: djgpp AT delorie DOT com (DJGPP) In-Reply-To: <5vn586$86e$1@news.wco.com> from `Lord_RaT~ at "Sep 16, 97 11:37:42 pm" From: Brett Porter MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk Sorry you got the reply twice, I bumped ENTER a second time. > i have been noticing that djgpp makes really big > .exe's here is my programme keep in mind i just started > void main() > { > printf("This is my generic programme\n"); > printf("This is fun/n"); > } > > now am i doing something wrong or what that > .exe was like 80k how can i stop this i dont > have that much space ? You are not doing anything wrong, but DJGPP needs to put a loader at the front of the program. It isn't that big, really. If you try adding another two lines like the ones above, it will not become 160K, probably 81K. If you are _really_ desperate for space... 1) Compile without debugging information (just don't make any mistakes :) 2) Use the executable compressor (found on SimTel where you got DJGPP from) HTH, and sorry about the duplicate message Brett -- "Give me ambiguity or give me something else" -- Brett Porter blp01 AT uow DOT edu DOT au http://www.geocities.com/CollegePark/Union/3596 Humour, Programming, and more.