aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2021-06-03 15:42:31 +0200
committerMartin Liska <mliska@suse.cz>2021-06-03 15:42:31 +0200
commit38dbface07d437b0fc3742f517a5d9dcf14ffdb8 (patch)
tree6aa6bf4155737d443052d46213a5c22336db3fdc
parent022cc8a989a810c5aaf9e1690f7bc2a510e2e64c (diff)
downloadgcc-38dbface07d437b0fc3742f517a5d9dcf14ffdb8.zip
gcc-38dbface07d437b0fc3742f517a5d9dcf14ffdb8.tar.gz
gcc-38dbface07d437b0fc3742f517a5d9dcf14ffdb8.tar.bz2
Remove 'c man' and other artefacts.
-rw-r--r--gcc/d/gdc.texi39
-rw-r--r--gcc/doc/invoke.texi58
-rw-r--r--gcc/fortran/invoke.texi49
3 files changed, 19 insertions, 127 deletions
diff --git a/gcc/d/gdc.texi b/gcc/d/gdc.texi
index 095f7ec..403fa90 100644
--- a/gcc/d/gdc.texi
+++ b/gcc/d/gdc.texi
@@ -11,27 +11,6 @@
@include gcc-common.texi
-@c Copyright years for this manual.
-@set copyrights-d 2006-2021
-
-@copying
-@c man begin COPYRIGHT
-Copyright @copyright{} @value{copyrights-d} 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 no
-Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
-A copy of the license is included in the
-@c man end
-section entitled ``GNU Free Documentation License''.
-@ignore
-@c man begin COPYRIGHT
-man page gfdl(7).
-@c man end
-@end ignore
-@end copying
-
@ifinfo
@format
@dircategory Software development
@@ -85,10 +64,8 @@ package documentation, see @uref{http://dlang.org/}.
@node Invoking gdc
@chapter Invoking gdc
-@c man title gdc A GCC-based compiler for the D language
+@subsubheading Synopsis
-@ignore
-@c man begin SYNOPSIS gdc
gdc [@option{-c}|@option{-S}] [@option{-g}] [@option{-pg}]
[@option{-O}@var{level}] [@option{-W}@var{warn}@dots{}]
[@option{-I}@var{dir}@dots{}] [@option{-L}@var{dir}@dots{}]
@@ -97,22 +74,14 @@ gdc [@option{-c}|@option{-S}] [@option{-g}] [@option{-pg}]
Only the most useful options are listed here; see below for the
remainder.
-@c man end
-@c man begin SEEALSO
-gpl(7), gfdl(7), fsf-funding(7), gcc(1)
-and the Info entries for @file{gdc} and @file{gcc}.
-@c man end
-@end ignore
-@c man begin DESCRIPTION gdc
+@subsubheading Description
The @command{gdc} command is the GNU compiler for the D language and
supports many of the same options as @command{gcc}. @xref{Option Summary, ,
Option Summary, gcc, Using the GNU Compiler Collection (GCC)}.
This manual only documents the options specific to @command{gdc}.
-@c man end
-
@menu
* Input and Output files:: Controlling the kind of output:
an executable, object files, assembler files,
@@ -124,7 +93,7 @@ This manual only documents the options specific to @command{gdc}.
* Developer Options:: Options useful for developers of gdc
@end menu
-@c man begin OPTIONS
+@subsubheading Options
@node Input and Output files
@section Input and Output files
@@ -723,8 +692,6 @@ and all @code{function} bodies that are being compiled.
@end table
-@c man end
-
@node Index
@unnumbered Index
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 9696c1b..55e76d5 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -2,36 +2,10 @@
@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-2021 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,13 @@ 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), dbx(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
$$BUGURL$$.
-@c man end
-@c man begin AUTHOR
+
See the Info entry for @command{gcc}, or
@w{@uref{http://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 +30,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 +101,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 +138,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
@@ -32065,8 +32028,6 @@ When this version of the ABI is enabled the C preprocessor symbol
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
@@ -32769,7 +32730,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
@@ -32938,8 +32900,6 @@ preprocessor.
@include cppenv.texi
-@c man end
-
@node Precompiled Headers
@section Using Precompiled Headers
@cindex precompiled headers
diff --git a/gcc/fortran/invoke.texi b/gcc/fortran/invoke.texi
index f00579a..5b471ac 100644
--- a/gcc/fortran/invoke.texi
+++ b/gcc/fortran/invoke.texi
@@ -2,31 +2,10 @@
@c This is part of the GNU Fortran manual.
@c For copying conditions, see the file gfortran.texi.
-@ignore
-@c man begin COPYRIGHT
-Copyright @copyright{} 2004-2021 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 ``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 gfortran
-(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 gfortran
-@settitle GNU Fortran compiler.
-@c man begin SYNOPSIS
gfortran [@option{-c}|@option{-S}|@option{-E}]
[@option{-g}] [@option{-pg}] [@option{-O}@var{level}]
[@option{-W}@var{warn}@dots{}] [@option{-pedantic}]
@@ -38,22 +17,12 @@ gfortran [@option{-c}|@option{-S}|@option{-E}]
Only the most useful options are listed here; see below for the
remainder.
-@c man end
-@c man begin SEEALSO
-gpl(7), gfdl(7), fsf-funding(7),
-cpp(1), gcov(1), gcc(1), as(1), ld(1), gdb(1), dbx(1)
-and the Info entries for @file{gcc}, @file{cpp}, @file{gfortran}, @file{as},
-@file{ld}, @file{binutils} and @file{gdb}.
-@c man end
-@c man begin BUGS
+
For instructions on reporting bugs, see
$$BUGURL$$.
-@c man end
-@c man begin AUTHOR
+
See the Info entry for @command{gfortran} for contributors to GCC and
GNU Fortran.
-@c man end
-@end ignore
@node Invoking GNU Fortran
@chapter GNU Fortran Command Options
@@ -61,7 +30,7 @@ GNU Fortran.
@cindex command options
@cindex options, @command{gfortran} command
-@c man begin DESCRIPTION
+@subsubheading Description
The @command{gfortran} command supports all the options supported by the
@command{gcc} command. Only options specific to GNU Fortran are documented
@@ -85,7 +54,6 @@ In some cases, options have positive and negative forms;
the negative form of @option{-ffoo} would be @option{-fno-foo}.
This manual documents only one of these two forms, whichever
one is not the default.
-@c man end
@menu
* Option Summary:: Brief list of all @command{gfortran} options,
@@ -108,7 +76,7 @@ one is not the default.
@node Option Summary
@section Option summary
-@c man begin OPTIONS
+@subsubheading Options
Here is a summary of all the options specific to GNU Fortran, grouped
by type. Explanations are in the following sections.
@@ -1993,8 +1961,6 @@ gcc,Using the GNU Compiler Collection (GCC)}, for information on more options
offered by the GBE
shared by @command{gfortran}, @command{gcc}, and other GNU compilers.
-@c man end
-
@node Interoperability Options
@section Options for interoperability with other languages
@@ -2053,7 +2019,7 @@ then uses @code{#include "foo.h"}.
@section Environment variables affecting @command{gfortran}
@cindex environment variable
-@c man begin ENVIRONMENT
+@subsubheading Environment
The @command{gfortran} compiler currently does not make use of any environment
variables to control its operation above and beyond those
@@ -2065,4 +2031,3 @@ variables.
@xref{Runtime}, for environment variables that affect the
run-time behavior of programs compiled with GNU Fortran.
-@c man end