fpc/docs/options.tex
peter 356a3d1609 * support for hevea
* provided local copies or required styles since debian does not
    supply the listings.sty anymore
2003-03-16 15:22:18 +00:00

84 lines
4.1 KiB
TeX

\chapter{Options and settings}
In \seet{booloptions} a summary of available boolean compiler directives
and the corresponding command-line options are listed. Other directives and
the corresponding options are shown in \seet{options}. For more information
about the command-line options, \seec{CompilerConfiguration}. For more
information about the directives, see the \progref.
% Directive
\newcommand{\dir}[1]{\var{\$#1}}
% Boolean directive (short)
\newcommand{\bdir}[1]{\var{\$#1[+/-]}}
% Boolean directive (long)
\newcommand{\lbdir}[1]{\var{\$#1[ON/OFF]}}
% Command line option.
\newcommand{\copt}[1]{\var{-#1}}
\begin{FPCltable}{llll}{Boolean Options and directves}{booloptions}
Short & long & Opt & Explanation \\ \hline
\bdir{A} & \lbdir{ALIGN} & & Data alignment \\
\bdir{B} & \lbdir{BOOLEVAL} & & Boolean evaluation mode \\
\bdir{C} & \lbdir{ASSERTIONS} & \copt{Sa} & Include assertions \\
\bdir{D} & \lbdir{DEBUGINFO} & \copt{g} & Include debug info \\
\bdir{E} & & & Coprocessor emulation \\
\bdir{F} & & & Far or near function (ignored) \\
\bdir{G} & & & generate 80286 code (ignored) \\
& \lbdir{GOTO} & \copt{Sg} & Support \var{GOTO} and \var{Label}\\
& \lbdir{HINTS} & \copt{vh} & Show hints \\
\bdir{H} & \lbdir{LONGSTRINGS} & \copt{Sh} & Use ansistrings\\
\bdir{I} & \lbdir{IOCHECKS} & \copt{Ci} & Check I/O operation result \\
& \lbdir{INLINE} & \copt{Si} & Allow inline code \\
\bdir{L} & \lbdir{LOCALSYMBOLS} & & Local symbol information \\
\bdir{M} & \lbdir{TYPEINFO} & & Generate RTTI for classes \\
& \lbdir{MMX} & & Intel MMX support \\
\bdir{N} & & & Floating point sypport \\
& \lbdir{NOTES} & \copt{vn} & Emit notes \\
\bdir{O} & & & Support overlays (ignored) \\
\bdir{P} & \lbdir{OPENSTRINGS} & & Support open strings \\
\bdir{Q} & \lbdir{OVERFLOWCHECKS} & \copt{Co} & Overflow checking \\
\bdir{R} & \lbdir{RANGECHEKS} & \copt{Cr} & Range checks \\
\bdir{S} & & \copt{Ct} & Stack checks \\
& \lbdir{SMARTLINK} & \copt{CX} & Use smartlinking \\
& \lbdir{STATIC} & \copt{St} & Allow use of \var{static} \\
\bdir{T} & \lbdir{TYPEDADDRESS} & & Types addresses \\ \hline
%
%
\end{FPCltable}
\begin{FPCltable}{llll}{Options and directives}{options}
Short & long & Opt & Explanation \\ \hline
& \dir{APPTYPE} & \copt{W} & Application type (Win32/OS2) \\
& \dir{ASMMODE} & \copt{R} & Assembler reader modus \\
%% & \dir{COPYRIGHT} & & Netware module copyright string \\
& \dir{DEFINE} & \copt{d} & Define symbol \\
& \dir{DESCRIPTION} & & Set program description \\
& \dir{ELSE} & & Conditional compilation switch \\
& \dir{ENDIF} & & Conditional compilation end \\
& \dir{FATAL} & & report fatal error \\
& \dir{HINT} & & Emit hint message\\
\dir{I file} & \dir{INCLUDE} & & Include file or literal text \\
& \dir{IF} & & Conditional compilation start \\
& \dir{IFDEF NAME} & & Conditional compilation start \\
& \dir{IFNDEF} & & Conditional compilation start \\
& \dir{IFOPT} & & Conditional compilation start \\
& \dir{INCLUDEPATH} & \copt{Fi} & set include path \\
& \dir{INFO} & & Emit information message \\
\dir{L file} & \dir{LINK} & & Link object file \\
& \dir{LIBRARYPATH} & \copt{Fl} & Set library path\\
& \dir{LINKLIB name} & & link library \\
\dir{M MIN,MAX} & \dir{MEMORY} & & Set memory sizes \\
& \dir{MACRO} & \copt{Sm} & Allow use of macros \\
& \dir{MESSAGE} & & Emit message \\
& \dir{MODE} & & Set compatibility mode \\
& \dir{NOTE} & & Emite note message \\
& \dir{OBJECTPATH} & \copt{Fo} & Set object path \\
& \dir{OUTPUT} & \copt{A} & Set output format \\
& \dir{PACKENUM} & & Enumeration type size \\
& \dir{PACKRECORDS} & & Record element alignment \\
& \dir{SATURATION} & & Saturation (ignored) \\
%% & \dir{SCREENNAME} & & Netware Module CLib-screenname \\
& \dir{STOP} & & Stop compilation \\
& \dir{UNDEF} & \copt{u} & Undefine symbol \\ \hline
%% & \dir{VERSION} & & Set Netware Module Version number \\
%
%
\end{FPCltable}