Related articles |
---|
Linking time sanjay_jha@email.msn.com (Sanjay Jha) (1999-04-18) |
Re: Linking time dwight@pentasoft.com (1999-04-19) |
Re: Linking time mikey@sparcbert.mlee.ontek.com (1999-04-20) |
Re: Linking time zalman@netcom.com (1999-04-21) |
Re: Linking time gopi@sankhya.com (1999-04-21) |
From: | "Sanjay Jha" <sanjay_jha@email.msn.com> |
Newsgroups: | comp.compilers |
Date: | 18 Apr 1999 02:02:57 -0400 |
Organization: | Compilers Central |
Keywords: | linker, performance, comment |
I have a 100MB static library that I need to link to. Though my exe
uses only a few of the classes from the library, the sheer size of the
library makes the link time as high as 30 minutes on my NT desktop. Is
there any way I can reduce this link time. I do have the source code
for the library and can actually build it myself. Though I can build
only the classes that I need as a separate library but that won't work
for everybody. There are many other developers on the project that
have the same problem.
Actually If I can find out what is that takes more time, disk I/O or
CPU, I can try to do something about it.
---Sanjay
[Interesting question. Windows libraries have reasonable symbol tables,
so it sounds like your linker deals badly with large tables. This can
easily happen when someone who thinks he understands hashing but doesn't
invents a symbol table hash that ends up dumping everything into one
bucket. -John]
Return to the
comp.compilers page.
Search the
comp.compilers archives again.