📄 0173-0175.html
字号:
<HTML>
<HEAD>
<TITLE>Linux Complete Command Reference:User Commands:EarthWeb Inc.-</TITLE>
</HEAD>
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<SCRIPT>
<!--
function displayWindow(url, width, height) {
var Win = window.open(url,"displayWindow",'width=' + width +
',height=' + height + ',resizable=1,scrollbars=yes');
}
//-->
</SCRIPT>
</HEAD>
-->
<!-- ISBN=0672311046 //-->
<!-- TITLE=Linux Complete Command Reference//-->
<!-- AUTHOR=Red Hat//-->
<!-- PUBLISHER=Macmillan Computer Publishing//-->
<!-- IMPRINT=Sams//-->
<!-- CHAPTER=01 //-->
<!-- PAGES=0001-0736 //-->
<!-- UNASSIGNED1 //-->
<!-- UNASSIGNED2 //-->
<P><CENTER>
<a href="0171-0172.html">Previous</A> | <a href="../ewtoc.html">Table of Contents</A> | <a href="0176-0178.html">Next</A></CENTER></P>
<A NAME="PAGENUM-173"><P>Page 173</P></A>
<P>Before sending a bug report, please do two things. First, verify that you have the latest version of
gawk. Many bugs (usually subtle ones) are fixed at each release, and if yours is out of date, the problem may already have been solved. Second,
please read this man page and the reference manual carefully to be sure that what you think is a bug really is, instead of just a
quirk in the language.
</P>
<P><B>
ACKNOWLEDGMENTS
</B>
</P>
<P>Brian Kernighan of Bell Labs provided valuable assistance during testing and debugging.
</P>
<P>We thank him.
</P>
<P>
Free Software Foundation, 24 November 1994
</P>
<H3><A NAME="ch01_ 81">
gcal
</A></H3>
<P>gcal—Displays month/year calendar sheets, eternal holiday lists for Julian and Gregorian years, and fixed date
warning lists—all in a variety of ways.
</P>
<P><B>
SINOPSIS
</B>
</P>
<!-- CODE SNIP //-->
<PRE>
gcal [[ Option... ][%Date ][@File... ]] [ Command ]
</PRE>
<!-- END CODE SNIP //-->
<P><B>
DESCRIPTION
</B>
</P>
<P>gcal is a program similar the standard calendar programs
BSD_'cal' and calendar.
</P>
<P>gcal displays Gregorian calendars, Julian calendars (before September 1752).
</P>
<P>If gcal is started without any options or
commands, a calendar of the current month is displayed.
</P>
<P>If the calendar of a definite year is wanted, the year must be fully specified. For example,
gcal 94 displays a year calendar of the year 94, not of the year 1994.
</P>
<P>If two arguments are given in the command part, the first argument denotes the month and the second argument denotes
the year. In case any illegal commands are given running
gcal, the program will use internal defaults.
</P>
<P>The Gregorian Reformation is assumed to have occurred in 1752 on the 3rd of September. Ten days following that
date were eliminated by the reformation, so the calendar for that month is a bit unusual.
</P>
<P><B>
MORE PROGRAM INFORMATION
</B>
</P>
<P>You get more program information if you start
gcal as follows:
</P>
<!-- CODE SNIP //-->
<PRE>
gcal -h gcal -? gcal _help
resp.,
gcal -hh gcal -?? gcal _long-help[=ARG]j[=?] gcal _usage[=ARG]j[=?]
</PRE>
<!-- END CODE SNIP //-->
<P>A hypertext file gcal.info containing detailed online information should be available, which you can inspect using
your GNU Infobrowser.
</P>
<P><B>
COPYRIGHT
</B>
</P>
<P>gcal copyright " 1994, 1995, 1996 by Thomas Esken. This software doesn't claim completeness, correctness, or
usability. On principle, I will not be liable for any damages or losses (implicit or explicit), which result from using or handling
my software. If you use this software, you agree without any exception to this agreement, which binds you
legally.
</P>
<P>gcal is free software and distributed under the terms of the GNU General Public License; published by the Free
Software Foundation; version 2 or (at your option) any later version.
</P>
<P>Any suggestions, improvements, extensions, bug reports, donations, proposals for contract work, and so forth are welcome! <BR>
If you like this tool, I'd appreciate a postcard from you!
</P>
<!-- CODE SNIP //-->
<PRE>
Enjoy it =8^)
</PRE>
<!-- END CODE SNIP //-->
<A NAME="PAGENUM-174"><P>Page 174</P></A>
<P><B>
AUTHOR
</B>
</P>
<P>Thomas Esken (esken@uni-muenster.de)
</P>
<P>Im Hagenfeld 84
</P>
<P>D-48147 Muenster; Germany
</P>
<P>Phone : +49 251 232585
</P>
<P><B>
SEE ALSO
</B>
</P>
<P>cal(1), calendar(1)
</P>
<P>16 July 1996
</P>
<H3><A NAME="ch01_ 82">
gcc, g++
</A></H3>
<P>gcc, g++—GNU project C and C++ Compiler (v2.7)
</P>
<P><B>
SINOPSIS
</B>
</P>
<!-- CODE SNIP //-->
<PRE>
gcc [ option j filename ]. . .
g++ [ option j filename ]...
</PRE>
<!-- END CODE SNIP //-->
<P><B>
WARNING
</B>
</P>
<P>The information in this man page is an extract from the full documentation of the GNU C compiler and is limited to
the meaning of the options.
</P>
<P>This man page is not kept up-to-date except when volunteers want to maintain it. If you find a discrepancy between the
man page and the software, please check the info file, which is the authoritative documentation.
</P>
<P>If we find that the things in this man page that are out of date cause significant confusion or complaints, we will
stop distributing the man page. The alternative, updating the man page when we update the
info file, is impossible because the rest of the work of maintaining GNU CC leaves us no time for that. The GNU project regards man pages as obsolete
and should not let them take time away from other things.
</P>
<P>For complete and current documentation, refer to the
info file gcc or the manual Using and Porting GNU
CC (for version 2.0). Both are made from the Texinfo source file
gcc.texinfo.
</P>
<P><B>
DESCRIPTION
</B>
</P>
<P>The C and C++ compilers are integrated. Both process input files through one or more of four stages:
preprocessing, compilation, assembly, and linking. Source filename suffixes identify the source language, but which name you use for
the compiler governs default assumptions:
</P>
<TABLE>
<TR><TD>
gcc
</TD><TD>
Assumes preprocessed (.i) files are C and assumes C-style linking.
</TD></TR><TR><TD>
g++
</TD><TD>
Assumes preprocessed (.i) files are C++ and assumes C++-style linking.
</TD></TR></TABLE>
<P>Suffixes of source filenames indicate the language and kind of processing to be done:
</P>
<TABLE>
<TR><TD>
.c
</TD><TD>
C source; preprocess, compile, assemble
</TD></TR><TR><TD>
.C
</TD><TD>
C++ source; preprocess, compile, assemble
</TD></TR><TR><TD>
.cc
</TD><TD>
C++ source; preprocess, compile, assemble
</TD></TR><TR><TD>
.cxx
</TD><TD>
C++ source; preprocess, compile, assemble
</TD></TR><TR><TD>
.m
</TD><TD>
Objective-C source; preprocess, compile, assemble
</TD></TR><TR><TD>
.i
</TD><TD>
Preprocessed C; compile, assemble
</TD></TR><TR><TD>
.ii
</TD><TD>
Preprocessed C++; compile, assemble
</TD></TR><TR><TD>
.s
</TD><TD>
Assembler source; assemble
</TD></TR></TABLE>
<A NAME="PAGENUM-175"><P>Page 175</P></A>
<TABLE>
<TR><TD>
.S
</TD><TD>
Assembler source; preprocess, assemble
</TD></TR><TR><TD>
.h
</TD><TD>
Preprocessor file; not usually named on command line
</TD></TR></TABLE>
<P>Files with other suffixes are passed to the linker. Common cases include
</P>
<!-- CODE SNIP //-->
<PRE>
.o Object file
.a Archive file
</PRE>
<!-- END CODE SNIP //-->
<P>Linking is always the last stage unless you use one of the
_c, _S, or _E options to avoid it (or unless compilation errors
stop the whole process). For the link stage, all
.o files corresponding to source files, _l libraries, unrecognized filenames
(including named .o object files, and .a archives) are passed to the linker in command-line order.
</P>
<P><B>
OPTIONS
</B>
</P>
<P>Options must be separate: _dr is quite different from_d _r.
</P>
<P>Most _f and _W options have two contrary forms:
_fname and _fno-name (or _Wname and _Wno_name). Only the nondefault
forms are shown here.
</P>
<P>Here is a summary of all the options, grouped by type. Explanations are in the following sections.
</P>
<BLOCKQUOTE>
Overall Options
</BLOCKQUOTE>
<!-- CODE SNIP //-->
<PRE>
_c _S _E _o file _pipe _v _x language
</PRE>
<!-- END CODE SNIP //-->
<BLOCKQUOTE>
Language Options
</BLOCKQUOTE>
<!-- CODE //-->
<PRE>
_ansi _fall_virtual _fcond_mismatch
_fdollars_in_identifiers _fenum_int_equiv _fexternal_templates
_fno_asm _fno_builtin _fno_strict_prototype
_fsigned_bitfields _fsigned_char _fthis_is_variable
_funsigned_bitfields _funsigned_char _fwritable_strings
_traditional _traditional_cpp _trigraphs
</PRE>
<!-- END CODE //-->
<BLOCKQUOTE>
Warning Options
</BLOCKQUOTE>
<!-- CODE //-->
<PRE>
_fsyntax_only _pedantic _pedantic_errors
_w _W _Wall _Waggregate_return _Wcast_align
_Wcast_qual _Wchar_subscript _Wcomment
_Wconversion _Wenum_clash _Werror
_Wformat _Wid_clash_len _Wimplicit
_Winline _Wmissing_prototypes _Wmissing_declarations
_Wnested_externs _Wno_import _Wparentheses
_Wpointer_arith _Wredundant_decls _Wreturn_type
_Wshadow _Wstrict_prototypes _Wswitch
_Wtemplate_debugging _Wtraditional _Wtrigraphs
_Wuninitialized _Wunused _Wwrite_strings
</PRE>
<!-- END CODE //-->
<BLOCKQUOTE>
Debugging Options
</BLOCKQUOTE>
<!-- CODE //-->
<PRE>
_a _dletters _fpretend_float _g _glevel _gcoff _gxcoff _gxcoff+ _gdwarf _gdwarf+ _gstabs _gstabs+ _ggdb _p _pg
_save_ temps _print_file_name=library _print_libgcc_file_name _ print_prog_name=program
</PRE>
<!-- END CODE //-->
<BLOCKQUOTE>
Optimization Options
</BLOCKQUOTE>
<!-- CODE //-->
<PRE>
_fcaller_saves _fcse_follow_jumps _fcse_skip_blocks
_fdelayed_branch _felide_constructors _fexpensive_optimizations
_ffast_math _ffloat_store _fforce_addr
_fforce_mem _finline_functions _fkeep_inline_functions
</PRE>
<!-- END CODE //-->
<P><CENTER>
<a href="0171-0172.html">Previous</A> | <a href="../ewtoc.html">Table of Contents</A> | <a href="0176-0178.html">Next</A></CENTER></P>
</td>
</tr>
</table>
<!-- begin footer information -->
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -