This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: (C++) High memory usage with templates
>>>>> Jamie Lokier <egcs@tantalophile.demon.co.uk>:
> On Tue, Dec 01, 1998 at 05:45:41PM -0800, Joe Buck wrote:
>> Linking speed is a separate problem. I suspect that -fsquangle will
>> speed up linking of large programs, because it substantially reduces
>> the size of symbols, and the linker has to page all of the symbols into
>> memory. (You'd have to use -fsquangle to build your library as well).
> I expect using references to debugging info in other files instead of
> copying it would yield a much better improvement in link times.
Yup. Agreed.
In comparison to the minute or so egcs uses to create the shared lib
on a PII300, Sunpro uses 13s on an UltraSPARC One busy with other
tasks.
Sunpro by default stores debug info outside of the .o files AFAIK.