summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2007-05-23 15:55:34 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2007-05-23 15:55:34 +0000
commit72d1a71dfbafb842498613b22c47706cf9fa6ef6 (patch)
tree92eb46b7874a9d3084635316f3d605462f45b3dd
parentae6aae3a36e7a97d71177a75e6e0a3cf963c73ab (diff)
downloadppe42-gcc-72d1a71dfbafb842498613b22c47706cf9fa6ef6.tar.gz
ppe42-gcc-72d1a71dfbafb842498613b22c47706cf9fa6ef6.zip
* doc/invoke.texi (Invoking GCC): Document that the order of the
-l option matters. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124995 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/doc/invoke.texi7
2 files changed, 9 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 52da89f144e..941700ecd49 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2007-05-23 Ian Lance Taylor <iant@google.com>
+
+ * doc/invoke.texi (Invoking GCC): Document that the order of the
+ -l option matters.
+
2007-05-23 Chen Liqin <liqin@sunnorth.com.cn>
PR target/30987
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 21ef96cae7c..a057a0cbc7f 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -102,9 +102,10 @@ may @emph{not} be grouped: @option{-dr} is very different from @w{@samp{-d
@cindex order of options
@cindex options, order
You can mix options and other arguments. For the most part, the order
-you use doesn't matter. Order does matter when you use several options
-of the same kind; for example, if you specify @option{-L} more than once,
-the directories are searched in the order specified.
+you use doesn't matter. Order does matter when you use several
+options of the same kind; for example, if you specify @option{-L} more
+than once, the directories are searched in the order specified. Also,
+the placement of the @option{-l} option is significant.
Many options have long names starting with @samp{-f} or with
@samp{-W}---for example,
OpenPOWER on IntegriCloud