| 1 |
@c Copyright (C) 2001-2023 Free Software Foundation, Inc. |
| 2 |
@c This is part of the GCC manual. |
| 3 |
@c For copying conditions, see the file gcc.texi. |
| 4 |
|
| 5 |
@c Version number and development mode. |
| 6 |
@c version-GCC is @set to the base GCC version number. |
| 7 |
@c DEVELOPMENT is @set for an in-development version, @clear for a |
| 8 |
@c release version (corresponding to ``experimental''/anything else |
| 9 |
@c in gcc/DEV-PHASE). |
| 10 |
|
| 11 |
@include gcc-vers.texi |
| 12 |
|
| 13 |
@c Common macros to support generating man pages: |
| 14 |
|
| 15 |
@macro gcctabopt{body} |
| 16 |
@code{\body\} |
| 17 |
@end macro |
| 18 |
@macro gccoptlist{body} |
| 19 |
@smallexample |
| 20 |
\body\ |
| 21 |
@end smallexample |
| 22 |
@end macro |
| 23 |
|
| 24 |
@c For FSF printing, define FSFPRINT. Also update the ISBN and last |
| 25 |
@c printing date for the manual being printed. |
| 26 |
@c @set FSFPRINT |
| 27 |
@ifset FSFPRINT |
| 28 |
@smallbook |
| 29 |
@finalout |
| 30 |
@c Cause even numbered pages to be printed on the left hand side of |
| 31 |
@c the page and odd numbered pages to be printed on the right hand |
| 32 |
@c side of the page. Using this, you can print on both sides of a |
| 33 |
@c sheet of paper and have the text on the same part of the sheet. |
| 34 |
|
| 35 |
@c The text on right hand pages is pushed towards the right hand |
| 36 |
@c margin and the text on left hand pages is pushed toward the left |
| 37 |
@c hand margin. |
| 38 |
@c (To provide the reverse effect, set bindingoffset to -0.75in.) |
| 39 |
@tex |
| 40 |
\global\bindingoffset=0.75in |
| 41 |
\global\normaloffset =0.75in |
| 42 |
@end tex |
| 43 |
@end ifset |
| 44 |
|
| 45 |
@c Macro to generate a "For the N.N.N version" subtitle on the title |
| 46 |
@c page of TeX documentation. This macro should be used in the |
| 47 |
@c titlepage environment after the title and any other subtitles have |
| 48 |
@c been placed, and before any authors are placed. |
| 49 |
@macro versionsubtitle |
| 50 |
@ifclear DEVELOPMENT |
| 51 |
@subtitle For @sc{gcc} version @value{version-GCC} |
| 52 |
@end ifclear |
| 53 |
@ifset DEVELOPMENT |
| 54 |
@subtitle For @sc{gcc} version @value{version-GCC} (pre-release) |
| 55 |
@end ifset |
| 56 |
@ifset VERSION_PACKAGE |
| 57 |
@sp 1 |
| 58 |
@subtitle @value{VERSION_PACKAGE} |
| 59 |
@end ifset |
| 60 |
@c Even if there are no authors, the second titlepage line should be |
| 61 |
@c forced to the bottom of the page. |
| 62 |
@vskip 0pt plus 1filll |
| 63 |
@end macro |
| 64 |
|
| 65 |
@c Convenience macro for defining builtins, in similar spirit |
| 66 |
@c to @deftypefun for functions. These macros provide syntax similar |
| 67 |
@c to @deftypefun, except all arguments are passed as a single |
| 68 |
@c argument, by being wrapped in curly braces. |
| 69 |
@macro defbuiltin {rest} |
| 70 |
@deftypefn {Built-in Function} \rest\ |
| 71 |
@end macro |
| 72 |
|
| 73 |
@macro defbuiltinx {rest} |
| 74 |
@deftypefnx {Built-in Function} \rest\ |
| 75 |
@end macro |
| 76 |
|
| 77 |
@macro enddefbuiltin |
| 78 |
@end deftypefn |
| 79 |
@end macro |