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 Thursday 21 June 2001 12:55, Alexandre Oliva wrote:
> 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?
>
that is after stripping the binaries.
> 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.
thanks !!! that works. the original gcc release is about 1.2k smaller than
the new one.
thanks a lot.
anupam