This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: question about linker
- From: DJ Delorie <dj at redhat dot com>
- To: seanatpurdue at hotmail dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 9 Sep 2005 14:07:46 -0400
- Subject: Re: question about linker
- References: <BAY105-F20DCB634C51D391544D64C0980@phx.gbl>
> Is 'ld' a part of gcc toolchain?
See http://sources.redhat.com/binutils/
> 6617 char *s = find_a_file (&exec_prefixes, "collect2", X_OK, 0);
collect2 is a wrapper around ld which invokes ld twice if needed -
once to gather information, and a second time with an additional
object it generates that supports some of the features gcc provides
which need to know about all the symbols in the file.