www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/01/21:02:06

Mime-Version: 1.0
To: "Michael Richardson" <mrichardson AT macrohard DOT net>, djgpp AT delorie DOT com
From: Nate Eldredge <nate AT cartsys DOT com>
Subject: Re: djgpp on NT?
Date: Mon, 1 Jun 1998 17:55:21 -0700
Message-ID: <19980602005455.AAB11858@ppp124.cartsys.com>

At 03:57  6/1/1998 -0500, Michael Richardson wrote:
>Ok...Still on NT here, and I'm a newbie...Wanted to ask: Why is it, when I
>comile the simple "Hello World!" program, it outputs a 384k file?
>When I use gxx hello.cpp -o hello.exe
>and the program is:
>#include <iostream.h>
>int main()
>{ cout << "Hello World!\n";
>  return 0; }
>it compiles a 384 program...Why? And when I delete teh #include line and
>change cout << to printf ("Hello World!\n");, it still compiles it to
>113k...isn't this waaaaaaay too huge for that simple program? Is there any
>way to optimize it to make it smaller?

Please read FAQ section 8.15.

Nate Eldredge
nate AT cartsys DOT com



- Raw text -


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