Article View: borland.public.cppbuilder.nativeapi
Article #15334C++ Builder Executable Size
From: Michaelson Eitan
Date: Thu, 10 Jul 2003 05:09
Date: Thu, 10 Jul 2003 05:09
31 lines
1810 bytes
1810 bytes
Hi, (I'm new to this group, and this question was probably asked here before) Is there any way to reduce the exe size of a compiled Builder application? When you compare a VC++ Standard GUI application (Win32 application that directly calls CreateWindow() act'), with a simple "TForm& Button" Borland Application, it's about 10 times as big. (Assuming you set the Borland compiler to statically link anything it can, so you get a single non dependent output). Oh...And yes, the debug data was removed from all the compared executables. I miss those days of "Turbo C\Pascal" when size and efficiency did matter, did Borland forget something along the way? And another little question, Why cppbuilder always links to OleAut32 and Ole32? Can I control the linker somehow? Thank you, Eitan Michaelson
Technical Details
Message-ID:
<3f0ce6eb@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-05!sn-xit-09!supernews.com!news.maxwell.syr.edu!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,707d5c1246ac2e9c,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-07-09 21:18:21 PST From: "Michaelson Eitan" <m_eitan@netvision.net.il> Newsgroups: borland.public.cppbuilder.nativeapi Subject: C++ Builder Executable Size Date: Thu, 10 Jul 2003 07:09:19 +0200 Lines: 34 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 217.132.126.25 Message-ID: <3f0ce6eb@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1057810155 217.132.126.25 (9 Jul 2003 21:09:15 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-05!sn-xit-09!supernews.com!news.maxwell.syr.edu!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail