Mail Archives: djgpp/1997/09/28/19:07:21
At 02:24 9/27/1997 GMT, Chris Kern wrote:
>
>Sorry if this is an FAQ, it's probably just a problem with setting
>options.
>
>I typed this program into RHIDE:
>
>main()
>{
> int num;
> num = 2;
> printf("Value=%d, Address=%d",num,&num);
>}
>
>The compiled .exe file was 80K. Why is this such a large size? The
>object file was very small, and the equivalent Pascal program was only
>2.5K.
This is indeed an FAQ (section 8.15). DJGPP does generate very large
executables; this is known. You can use `strip' to remove debugging info and
make it smaller, or DJP to compress it and make it smaller yet. The FAQ has
some additional ideas.
Nate Eldredge
eldredge AT ap DOT net
- Raw text -