www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/02/21/01:08:15

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
Message-ID: <003001c1ba9d$d390d280$bbd5aec6@default>
From: "Josh Haglund" <lhaglund AT wiktel DOT com>
To: <djgpp AT delorie DOT com>
References: <a521gd$42nsi$1 AT ID-76871 DOT news DOT dfncis DOT de>
Subject: Re: Hello, World! == 753 KB
Date: Thu, 21 Feb 2002 00:05:54 -0600
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4807.1700
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
Reply-To: djgpp AT delorie DOT com

no optimizations (-O3 -O2, -O1, -Os, etc...) or strip it... -s


----- Original Message ----- 
From: "Fausto Arinos de A. Barbuto" <barbuto AT ax DOT apc DOT org>
Newsgroups: comp.os.msdos.djgpp
To: <djgpp AT delorie DOT com>
Sent: Thursday, February 21, 2002 12:36 AM
Subject: Hello, World! == 753 KB



    Or 752,983 bytes, to be the most accurate. That's
    what I get when I compile the code below with
    "gpp -o hello.exe hello.cpp" (gcc version 3.0.3).
    Isn't that amazing? So tiny a code, so large an
    executable! Is there a _good_ reason for that?...

---Fausto


//---------CUT HERE---------
#include <iostream.h>
#include <math.h>

int main (void) {

        cout << "\n\n" << "Hello, World!";
        return 0;

}
//---------CUT HERE---------




- Raw text -


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