www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/09/18/19:00:15

From: Jason Green <news AT jgreen4 DOT fsnet DOT co DOT uk>
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: <ag6dssoleki89511ju8sc6m0gk1dkdme4n@4ax.com>
References: <8q5p19$bg7$1 AT riker DOT addcom DOT de>
NNTP-Posting-Host: modem-74.neon.dialup.pol.co.uk
Mime-Version: 1.0
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" <thorsten DOT erdmann AT gmx DOT de> 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?"

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019