diff options
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/doc/invoke.texi | 7 |
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, |
