| delorie.com/archives/browse.cgi | search |
| From: | Endlisnis <s257m AT unb DOT ca> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | executable size under DJGPP |
| Date: | Fri, 10 Jul 1998 15:09:36 -0300 |
| Organization: | University of New Brunswick |
| Lines: | 23 |
| Message-ID: | <Pine.SOL.3.96.980710150036.7738B-100000@sol.sun.csd.unb.ca> |
| NNTP-Posting-Host: | sol-alt1.unb.ca |
| Mime-Version: | 1.0 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
I am just wondering what the expected size ratio is between a
program compiled under a 16-bit compiler (like BC++3.1) and DJGPP. I
remember reading a while ago somebody saying that only 18k was linked into
every DJGPP file. (I may have the wrong number) I tried compiling:
void main(){}
And it came out as 67k. I tried using <fstream.h>
#include<fstream.h>
void main()
{
fstream a("test", ios::out|ios::binary);
a << "Hello";
}
And it ended up 202k. From what I remember of BC++v3.1 those
programs would have compiled to 5k & 29k. Should I expect 10:1 ratios to
take care of Protected mode issues?
Endlisnis
[I have a pyramid of wingyness]
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |