This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: compilation problems with gcc 3.0
On Jun 21, 2001, Anupam Kapoor <anupamkap@earthlink.net> wrote:
> however a small problem, a simple "hello_world" style program using c++ is
> now about 24k in size as opposed to about 3.7k using the older compiler.
Before or after stripping?
The main difference is that iostreams are now fully templatized, as
demanded by the C++ standard, do you get implicit instantiations of
the templates into your object file and executable. Try
-fno-implicit-templates, if size matters.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me