This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH, doc: improve collect2 docs
- From: Ben Elliston <bje at au1 dot ibm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 30 Apr 2009 11:32:05 +1000
- Subject: PATCH, doc: improve collect2 docs
The -B option to adjust the search path for subprograms such as ld is
ignored when gcc is configured with --with-ld. In that case, the
DEFAULT_LINKER is always used. This is arguably an undesirable
situation, but at the very least, the documentation should state the
current behaviour.
Okay for mainline?
2009-04-30 Ben Elliston <bje@au.ibm.com>
* doc/collect2.texi (Collect2): Document search path behaviour
when configured with --with-ld.
Index: collect2.texi
===================================================================
--- collect2.texi (revision 146952)
+++ collect2.texi (working copy)
@@ -32,6 +32,10 @@ names:
@itemize @bullet
@item
+a hard coded linker file name, if GCC was configured with the
+@option{--with-ld} option.
+
+@item
@file{real-ld} in the directories listed in the compiler's search
directories.