From 70f57af18f1c3cac39d14cca899b372a36aaf5c4 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 23 May 2007 15:55:34 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/doc/invoke.texi | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 52da89f144e5..941700ecd494 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2007-05-23 Ian Lance Taylor + + * doc/invoke.texi (Invoking GCC): Document that the order of the + -l option matters. + 2007-05-23 Chen Liqin PR target/30987 diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 21ef96cae7c3..a057a0cbc7f3 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, -- 2.47.2