From 05ec1d8b03fe2b0ad3be9aa8ae1c72fa827119a2 Mon Sep 17 00:00:00 2001 From: manu Date: Thu, 8 Apr 2010 17:21:26 +0000 Subject: [PATCH] =?utf8?q?2010-04-08=20=20Manuel=20L=C3=B3pez-Ib=C3=A1?= =?utf8?q?=C3=B1ez=20=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit PR 42485 * doc/invoke.texi (-b,-V): Delete. * doc/tm.texi: Do not mention -b. * gcc.c (display_help): Delete -b and -V. (process_command): Delete -b and -V. * gcc.h (DEFAULT_SWITCH_TAKES_ARG): Delete -b and -V. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158134 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 9 +++++++++ gcc/doc/invoke.texi | 39 ++------------------------------------- gcc/doc/tm.texi | 9 ++++----- 3 files changed, 15 insertions(+), 42 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ecf1f2697ea..4b7d1e2cc72 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2010-04-08 Manuel López-Ibáñez + + PR 42485 + * doc/invoke.texi (-b,-V): Delete. + * doc/tm.texi: Do not mention -b. + * gcc.c (display_help): Delete -b and -V. + (process_command): Delete -b and -V. + * gcc.h (DEFAULT_SWITCH_TAKES_ARG): Delete -b and -V. + 2010-04-08 Christian Borntraeger Wolfgang Gellerich diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 67a1b60d15c..7a8ca5582cd 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -428,11 +428,6 @@ Objective-C and Objective-C++ Dialects}. @gccoptlist{-B@var{prefix} -I@var{dir} -iquote@var{dir} -L@var{dir} -specs=@var{file} -I- --sysroot=@var{dir}} -@item Target Options -@c I wrote this xref this way to avoid overfull hbox. -- rms -@xref{Target Options}. -@gccoptlist{-V @var{version} -b @var{machine}} - @item Machine Dependent Options @xref{Submodel Options,,Hardware Models and Configurations}. @c This list is ordered alphanumerically by subsection name. @@ -9556,33 +9551,7 @@ proper position among the other output files. The usual way to run GCC is to run the executable called @file{gcc}, or @file{-gcc} when cross-compiling, or @file{-gcc-} to run a version other than the one that -was installed last. Sometimes this is inconvenient, so GCC provides -options that will switch to another cross-compiler or version. - -@table @gcctabopt -@item -b @var{machine} -@opindex b -The argument @var{machine} specifies the target machine for compilation. - -The value to use for @var{machine} is the same as was specified as the -machine type when configuring GCC as a cross-compiler. For -example, if a cross-compiler was configured with @samp{configure -arm-elf}, meaning to compile for an arm processor with elf binaries, -then you would specify @option{-b arm-elf} to run that cross compiler. -Because there are other options beginning with @option{-b}, the -configuration must contain a hyphen, or @option{-b} alone should be one -argument followed by the configuration in the next argument. - -@item -V @var{version} -@opindex V -The argument @var{version} specifies which version of GCC to run. -This is useful when multiple versions are installed. For example, -@var{version} might be @samp{4.0}, meaning to run GCC version 4.0. -@end table - -The @option{-V} and @option{-b} options work by running the -@file{-gcc-} executable, so there's no real reason to -use them if you can just run that directly. +was installed last. @node Submodel Options @section Hardware Models and Configurations @@ -9591,11 +9560,7 @@ use them if you can just run that directly. @cindex hardware models and configurations, specifying @cindex machine dependent options -Earlier we discussed the standard option @option{-b} which chooses among -different installed compilers for completely different target -machines, such as VAX vs.@: 68000 vs.@: 80386. - -In addition, each of these target machine types can have its own +Each target machine types can have its own special options, starting with @samp{-m}, to choose among various hardware models or configurations---for example, 68010 vs 68020, floating coprocessor or none. A single installed version of the diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index 222117d8207..8337e161fe4 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -465,7 +465,7 @@ indicates an absolute file name. @defmac MD_EXEC_PREFIX If defined, this macro is an additional prefix to try after @code{STANDARD_EXEC_PREFIX}. @code{MD_EXEC_PREFIX} is not searched -when the @option{-b} option is used, or the compiler is built as a cross +when the compiler is built as a cross compiler. If you define @code{MD_EXEC_PREFIX}, then be sure to add it to the list of directories used to find the assembler in @file{configure.in}. @end defmac @@ -497,14 +497,13 @@ is built as a cross compiler. @defmac MD_STARTFILE_PREFIX If defined, this macro supplies an additional prefix to try after the standard prefixes. @code{MD_EXEC_PREFIX} is not searched when the -@option{-b} option is used, or when the compiler is built as a cross -compiler. +compiler is built as a cross compiler. @end defmac @defmac MD_STARTFILE_PREFIX_1 If defined, this macro supplies yet another prefix to try after the -standard prefixes. It is not searched when the @option{-b} option is -used, or when the compiler is built as a cross compiler. +standard prefixes. It is not searched when the compiler is built as a +cross compiler. @end defmac @defmac INIT_ENVIRONMENT -- 2.11.0