collect2 always built?

Joe Buck jbuck@synopsys.com
Mon Feb 2 11:14:00 GMT 1998


> 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 assumed
> 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.

collect is needed even with GNU ld if you want the -frepo option to work.
But then, you might not care about -frepo.



More information about the Gcc mailing list