Mail Archives: djgpp/1997/09/16/22:05:51
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.
- Raw text -