From: Ron House Newsgroups: comp.os.msdos.djgpp Subject: DJGPP EXE file size vs Linux Date: Wed, 01 Nov 2000 02:54:27 +0000 Organization: University of Queensland Lines: 15 Message-ID: <39FF85E3.35B34DAC@usq.edu.au> NNTP-Posting-Host: heracles.usq.edu.au Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: bunyip.cc.uq.edu.au 973047201 26904 139.86.208.29 (1 Nov 2000 02:53:21 GMT) X-Complaints-To: news AT uq DOT edu DOT au NNTP-Posting-Date: 1 Nov 2000 02:53:21 GMT X-Mailer: Mozilla 3.04 (X11; I; Linux 2.2.5-22 i686) X-Original-NNTP-Posting-Host: valhalla.sci.usq.edu.au X-Original-Trace: 1 Nov 2000 12:53:18 +1000, valhalla.sci.usq.edu.au X-Abuse: abuse AT usq DOT edu DOT au To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi all, I have an app that was originally C, but later I included classes and made it C++. Since then the file size has blown out hugely, yet I have only moderate use of templates (although I do use vector quite a bit) and don't use any C++ I-O, sticking with stdio.h. But most puzzling, the stripped sizes of the exe under Linux and DJGPP are vastly different: 950K vs 1.9Mb. Supposedly this is the same compiler underneath, if I understand correctly. (These sizes should also be compared with the size of the original program, around 300K and maybe 25% less source code.) -- Ron House house AT usq DOT edu DOT au http://www.sci.usq.edu.au/staff/house "There are ethics - and then there's the greater good." - Sigrid Thornton as Laura Gibson (Seachange).