delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1996/11/01/15:30:12

From: colin AT fu DOT is DOT saga-u DOT ac DOT jp (Colin Peters)
Subject: __rtti_... functions
1 Nov 1996 15:30:12 -0800 :
Sender: daemon AT cygnus DOT com
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199611011708.CAA22099.cygnus.gnu-win32@bird.fu.is.saga-u.ac.jp>
Original-To: csrabak AT dce03 DOT ipt DOT br
Original-CC: gnu-win32 AT cygnus DOT com
In-reply-to: Cesar Scarpini Rabak's message of Fri, 1 Nov 1996 15:46:00 -0200 <1.5.4.16.19961101134002.1aa79ade@dmeasc.rc.ipt.br>
Original-Sender: owner-gnu-win32 AT cygnus DOT com

> 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 -


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