aboutsummaryrefslogtreecommitdiff
path: root/gcc/go
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/go')
-rw-r--r--gcc/go/gccgo.texi60
1 files changed, 5 insertions, 55 deletions
diff --git a/gcc/go/gccgo.texi b/gcc/go/gccgo.texi
index 66020aa7..e2da482 100644
--- a/gcc/go/gccgo.texi
+++ b/gcc/go/gccgo.texi
@@ -11,41 +11,6 @@
@include gcc-common.texi
-@c Copyright years for this manual.
-@set copyrights-go 2010-2022
-
-@copying
-@c man begin COPYRIGHT
-Copyright @copyright{} @value{copyrights-go} 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, 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
-@c man end
-section entitled ``GNU Free Documentation License''.
-@ignore
-@c man begin COPYRIGHT
-man page gfdl(7).
-@c man end
-@end ignore
-
-@c man begin COPYRIGHT
-
-(a) The FSF's Front-Cover Text is:
-
- A GNU Manual
-
-(b) The FSF's Back-Cover Text is:
-
- 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
-@end copying
-
@ifinfo
@format
@dircategory Software development
@@ -90,7 +55,6 @@ package documentation, see @uref{https://golang.org/}.
* Import and Export:: Importing and exporting package data.
* Compiler Directives:: Comments to control compilation.
* C Interoperability:: Calling C from Go and vice-versa.
-* Index:: Index.
@end menu
@@ -102,25 +66,18 @@ package documentation, see @uref{https://golang.org/}.
@node Invoking gccgo
@chapter Invoking gccgo
-@c man title gccgo A GCC-based compiler for the Go language
+@subsubheading Synopsis
-@ignore
-@c man begin SYNOPSIS gccgo
gccgo [@option{-c}|@option{-S}]
[@option{-g}] [@option{-pg}] [@option{-O}@var{level}]
[@option{-I}@var{dir}@dots{}] [@option{-L}@var{dir}@dots{}]
[@option{-o} @var{outfile}] @var{infile}@dots{}
+
+@subsubheading Description
+
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{gccgo} and @file{gcc}.
-@c man end
-@end ignore
-
-@c man begin DESCRIPTION gccgo
The @command{gccgo} command is a frontend to @command{gcc} and
supports many of the same options. @xref{Option Summary, , Option
@@ -147,9 +104,7 @@ Go programs must generally be compiled with debugging information, and
@option{-g1} is the default as described below. Stripping a Go
program will generally cause it to misbehave or fail.
-@c man end
-
-@c man begin OPTIONS gccgo
+@subsubheading Options
@table @gcctabopt
@item -I@var{dir}
@@ -284,8 +239,6 @@ debugging information, in which case certain standard library
functions, such as @code{runtime.Callers}, will not operate correctly.
@end table
-@c man end
-
@node Import and Export
@chapter Import and Export
@@ -513,9 +466,6 @@ call the function from C you must set the name using the @command{gcc}
extern int go_function(int) __asm__ ("mypkgpath.Function");
@end smallexample
-@node Index
-@unnumbered Index
-
@printindex cp
@bye