diff options
Diffstat (limited to 'gcc/doc/invoke.texi')
-rw-r--r-- | gcc/doc/invoke.texi | 65 |
1 files changed, 10 insertions, 55 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 975ee64..f367c3a 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -1,37 +1,11 @@ -@c Copyright (C) 1988-2022 Free Software Foundation, Inc. +@c Copyright (C) 1988-2021 Free Software Foundation, Inc. @c This is part of the GCC manual. @c For copying conditions, see the file gcc.texi. -@ignore -@c man begin INCLUDE -@include gcc-vers.texi -@c man end - -@c man begin COPYRIGHT -Copyright @copyright{} 1988-2022 Free Software Foundation, Inc. - -Permission is granted to copy, distribute and/or modify this document -under the terms of the GNU Free Documentation License, Version 1.3 or -any later version published by the Free Software Foundation; with the -Invariant Sections being ``GNU General Public License'' and ``Funding -Free Software'', the Front-Cover texts being (a) (see below), and with -the Back-Cover Texts being (b) (see below). A copy of the license is -included in the gfdl(7) man page. - -(a) The FSF's Front-Cover Text is: - - A GNU Manual +@setfilename gcc -(b) The FSF's Back-Cover Text is: +@subsubheading Synopsis - You have freedom to copy and modify this GNU Manual, like GNU - software. Copies published by the Free Software Foundation raise - funds for GNU development. -@c man end -@c Set file name and title for the man page. -@setfilename gcc -@settitle GNU project C and C++ compiler -@c man begin SYNOPSIS gcc [@option{-c}|@option{-S}|@option{-E}] [@option{-std=}@var{standard}] [@option{-g}] [@option{-pg}] [@option{-O}@var{level}] [@option{-W}@var{warn}@dots{}] [@option{-Wpedantic}] @@ -42,23 +16,12 @@ gcc [@option{-c}|@option{-S}|@option{-E}] [@option{-std=}@var{standard}] Only the most useful options are listed here; see below for the remainder. @command{g++} accepts mostly the same options as @command{gcc}. -@c man end -@c man begin SEEALSO -gpl(7), gfdl(7), fsf-funding(7), -cpp(1), gcov(1), as(1), ld(1), gdb(1) -and the Info entries for @file{gcc}, @file{cpp}, @file{as}, -@file{ld}, @file{binutils} and @file{gdb}. -@c man end -@c man begin BUGS For instructions on reporting bugs, see -@w{@value{BUGURL}}. -@c man end -@c man begin AUTHOR +$$BUGURL$$. + See the Info entry for @command{gcc}, or @w{@uref{https://gcc.gnu.org/onlinedocs/gcc/Contributors.html}}, for contributors to GCC@. -@c man end -@end ignore @node Invoking GCC @chapter GCC Command Options @@ -66,7 +29,8 @@ for contributors to GCC@. @cindex command options @cindex options, GCC command -@c man begin DESCRIPTION +@subsubheading Description + When you invoke GCC, it normally does preprocessing, compilation, assembly and linking. The ``overall options'' allow you to stop this process at an intermediate stage. For example, the @option{-c} option @@ -136,8 +100,6 @@ designated by @var{byte-size} in the following text. Refer to the NIST, IEC, and other relevant national and international standards for the full listing and explanation of the binary and decimal byte size prefixes. -@c man end - @xref{Option Index}, for an index to GCC's options. @menu @@ -175,7 +137,7 @@ listing and explanation of the binary and decimal byte size prefixes. * C++ Modules:: Experimental C++20 module system. @end menu -@c man begin OPTIONS +@subsubheading Options @node Option Summary @section Option Summary @@ -21161,8 +21123,6 @@ This option is deprecated. @opindex mapcs This is a synonym for @option{-mapcs-frame} and is deprecated. -@ignore -@c not currently implemented @item -mapcs-stack-check @opindex mapcs-stack-check Generate code to check the amount of stack space available upon entry to @@ -21173,12 +21133,10 @@ called, depending upon the amount of stack space required. The runtime system is required to provide these functions. The default is @option{-mno-apcs-stack-check}, since this produces smaller code. -@c not currently implemented @item -mapcs-reentrant @opindex mapcs-reentrant Generate reentrant, position-independent code. The default is @option{-mno-apcs-reentrant}. -@end ignore @item -mthumb-interwork @opindex mthumb-interwork @@ -34087,8 +34045,6 @@ instructions. The default value is 0. These are listed under @xref{S/390 and zSeries Options}. -@c man end - @node Spec Files @section Specifying Subprocesses and the Switches to Pass to Them @cindex Spec Files @@ -34790,7 +34746,8 @@ proper position among the other output files. @section Environment Variables Affecting GCC @cindex environment variables -@c man begin ENVIRONMENT +@subsubheading Environment + This section describes several environment variables that affect how GCC operates. Some of them work by specifying directories or prefixes to use when searching for various kinds of files. Some are used to specify other @@ -34959,8 +34916,6 @@ preprocessor. @include cppenv.texi -@c man end - @node Precompiled Headers @section Using Precompiled Headers @cindex precompiled headers |