aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-05-23 15:55:34 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2007-05-23 15:55:34 +0000
commit70f57af18f1c3cac39d14cca899b372a36aaf5c4 (patch)
tree92eb46b7874a9d3084635316f3d605462f45b3dd /gcc
parent8d8aad9734b20ea9a6f40982c87766c0dc055b70 (diff)
downloadgcc-70f57af18f1c3cac39d14cca899b372a36aaf5c4.zip
gcc-70f57af18f1c3cac39d14cca899b372a36aaf5c4.tar.gz
gcc-70f57af18f1c3cac39d14cca899b372a36aaf5c4.tar.bz2
invoke.texi (Invoking GCC): Document that the order of the -l option matters.
* doc/invoke.texi (Invoking GCC): Document that the order of the -l option matters. From-SVN: r124995
Diffstat (limited to 'gcc')
-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 52da89f..941700e 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 21ef96c..a057a0c 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,