delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/21/23:34:14

From: kcdixon AT hotbot DOT com (Katy)
Newsgroups: comp.os.msdos.djgpp
Subject: Why are my c++ .exe's so large
Date: 21 Oct 1999 22:04:01 -0500
Organization: Newscene Public Access Usenet News Service (http://www.newscene.com/)
Lines: 21
Message-ID: <380fd475.6115722@news3.newscene.com>
X-Newsreader: Forte Agent 1.5/32.452
MIME-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

	
Hello everyone,

I downloaded all djgpp files for Win98 from the official djgpp
website, using the picker, and I installed it and configured it as the
documentation indicated. 

I am able to compile both c and c++ code, however, all my exe's that
are compiled with gpp are HUGE! 

For example a simple "Hello World" exe, is ~ 268,000 KB.
I use the following commands to compile the hello.cpp
	gpp -c -o hello.o hello.cpp
	gpp -o hello.exe hello.o

How can I make my exe's smaller, is there a switch that I can use to
do this.

Thanks in advance.

Katy

- Raw text -


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