From: Jason Green Newsgroups: comp.os.msdos.djgpp Subject: Re: How to tell DJGPP to make a C program Date: Mon, 18 Sep 2000 23:53:05 +0100 Organization: Customer of Energis Squared Lines: 18 Message-ID: References: <8q5p19$bg7$1 AT riker DOT addcom DOT de> NNTP-Posting-Host: modem-74.neon.dialup.pol.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: newsg4.svr.pol.co.uk 969317648 2220 62.136.9.74 (18 Sep 2000 22:54:08 GMT) NNTP-Posting-Date: 18 Sep 2000 22:54:08 GMT X-Complaints-To: abuse AT theplanet DOT net X-Newsreader: Forte Agent 1.7/32.534 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Thorsten Erdmann" wrote: > I have written an application which only use C commands, no C++. How can I > tell the compiler/linker to leave out all that C++ stuff. What leads you to believe the problem is due to C++ components? > My application > gets very big, nearly 800K and I often get Out of memory errors during > launching of it. So I hope to get it smaller that way. Exactly what errors do you get? > Okay, I can compress it, but the decompressing on startup is very slow on > the target 486 system. Any idea how to decrease the size of the executable? The FAQ explains this in some detail in section 8.14 "Why are DJGPP `.exe' files so large?"