Mail Archives: cygwin/1996/11/01/15:30:12
> Date: Fri, 1 Nov 1996 15:46:00 -0200
> >The bad news: hello world is 118 Kbytes. After stripping it is still 54 Kbytes.
> >Jeez! Is C++ really that much of a code bloater?
>
> It is not C++ is the support for the environment (Win32) that makes your
> code large!
Well, not really. You see, I compile a C hello world in the same environment
and it is 3072 bytes.
The problem is the C++ iostreams library is statically linked and includes
stuff for run time type information and structured exceptions (there's a
Win32 API for that I think, and using that would probably make my code
smaller).
Oh well. I still intend to use iostreams, I just wish there was a dynamically
linkable version or it didn't take *quite* so much code to do it's job.
Colin.
------------------------------------------------------------------------------
Colin Peters ------------ Saga Univ. Dept. of Information Science, Saga, JAPAN
http://www.fu.is.saga-u.ac.jp/~colin/home.html - colin AT bird DOT fu DOT is DOT saga-u DOT ac DOT jp
$@%3%j%s(J $@%T!<%?!<%:(J - $@:42lBg3XM}9)3XIt>pJs2J3X2J>pJs4pAC3X9V:B(J
- Current favorite kanji: $@@2$l(J $@<G AT 8(J -
-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -