delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/20/03:57:30

From: "Tony Kao" <MacGyver AT ms11 DOT accmail DOT com DOT tw>
Newsgroups: comp.os.msdos.djgpp
Subject: gcc 2.8.1 outputs are much larger than gcc 2.7.2 ... why ??
Date: Tue, 19 May 1998 12:58:29 +0800
Organization: Industtrial Technology Research Institute
Lines: 25
Message-ID: <6jr414$qgs$1@news.itri.org.tw>
NNTP-Posting-Host: 140.96.70.77
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I just downloaded the gcc 2.8.1 and tried to compile the famous "Hello"
program. the following is the program:

#include <iostream.h>

main()
{
    cout << "Hello, DJGPP !!\n";
}

with the compile option: gcc -o hello.exe hello.cpp -lstdcx
I found the execution file size is 386560 bytes, which is much bigger than
gcc 2.7.2 outputs. For gcc 2.7.2 the execution file size for the same
program is 187675 bytes.

The configuration file DJGPP.ENV I'm using is default setting.

Anyone knows what's the extra information in the execution file ?? Or I
missed any option ??

Any comment would be appcriated. Thanks.

Tony Kao


- Raw text -


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