collect2 always built?
Jeffrey A Law
law@cygnus.com
Mon Feb 2 11:14:00 GMT 1998
In message < Pine.NEB.3.96.980202114517.22769A-100000@like.duh.org >you write:
> Is this an egcs thing or a gcc 2.8 thing?... Under egcs, --with-gnu-ld in
> the configuration causes collect2 ($(libsubdir)/ld) to be built and
> installed at all times as opposed to gcc 2.7.x', where the GNU ld is assume> d
> to handle constructors and destructors of static items properly. Which is
> correct? I'm currently just deleting the installed collect2 binary and all
> works fine.
You need collect2 -- else you're going to start running into problems
with shared library ctors/dtors and exception handling initialization
code.
collect2 should always be installed now, even if you're using gnu-ld.
jeff
More information about the Gcc
mailing list