This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: C++ automatic template instantiation?
- To: gcc at gcc dot gnu dot org
- Subject: Re: C++ automatic template instantiation?
- From: Tudor Hulubei <tudor at cs dot unh dot edu>
- Date: Thu, 20 Apr 2000 08:45:00 -0400 (EDT)
- Organization: University of New Hampshire
- References: <200004200345.UAA17672@kankakee.wrs.com>
- Reply-To: Tudor Hulubei <tudor at cs dot unh dot edu>
On Wednesday, 19 April 2000, Mike Stump wrote:
> You can improve it by using --gc-sections on the link line I bet. I
> think this is enough to get it down to the same size, give it a try
> and let us know.
It doesn't appear to do anything. I added "-Xlinker --gc-sections" to
the c++ command line that links everything, and the size of the 3.2Mb
executable remained unchanged. Same for the 1.6Mb binary. :-(
Is there anything else that I should try?
> Also, would be nice to hear the amortized build time differences for
> your projects as a percent. (-frepo is 5% faster, %2 slow and 15%
> faster in apps 1 2 and 3)
I'll send those stats later today.
Tudor