Mail Archives: djgpp/1999/02/10/06:01:33
On 10 Feb 1999, Hoang Huynh wrote:
> Okay, I am a newbie taking a newbie
> CIS class and came upon something
> that perplexes me:
>
> I wrote this little program and
> compiled it using both DJGPP (with
> RHIDE) and Borland Turbo C v3.0.
> With DJGPP, the .exe came out to
> be about 300KB while with the Borland
> TC, the .exe was 50K (!).
Just run 'strip yourfile.exe', and you'll see it's size reduced...
But still larger than the Borland's result.
You have also to know the fact that your program compiled under DJGPP will
run in protected mode, and will be able to use all your memory (even more,
using swap file)... With Borland's Turbo C 3, you'll only be able to use
what's remaining in the low 640KB...
--
Erwann ABALEA
eabalea AT certplus DOT com
- Raw text -