This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: C++ automatic template instantiation?



  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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]