Re: horrible link times with g++ 4.1.1 and -g

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Egon Kocjan wrote:

> I am trying to build a ~100 KLOC c++ application with g++ 4.1.1 and
> debugging enabled (-g, no -O...). I also link statically some other
> libraries, like libxml, clucene, etc.., mostly c. The link time with -g
> is really horrible - it is in range of several minutes! I used 3.4.5
> previously, and link time was more like 10-20 seconds. Am I missing
> something obvious here?

The linker is not part of gcc.  Assuming you're using the GNU linker,
it's part of binutils, which has its own mailing list.

There have been some speedups in the linker code over the last few
years, so the first thing I'd do would be to try the latest version (or
better, CVS HEAD) and see if the problem is still there.  If so, post to
the binutils list with as many details as you can.

Brian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux