options.tex 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. \chapter{Options and settings}
  2. In \seet{booloptions} a summary of available boolean compiler directives
  3. and the corresponding command-line options are listed. Other directives and
  4. the corresponding options are shown in \seet{options}. For more information
  5. about the command-line options, \seec{CompilerConfiguration}. For more
  6. information about the directives, see the \progref.
  7. % Directive
  8. \newcommand{\dir}[1]{\var{\$#1}}
  9. % Boolean directive (short)
  10. \newcommand{\bdir}[1]{\var{\$#1[+/-]}}
  11. % Boolean directive (long)
  12. \newcommand{\lbdir}[1]{\var{\$#1[ON/OFF]}}
  13. % Command line option.
  14. \newcommand{\copt}[1]{\var{-#1}}
  15. \begin{FPCltable}{llll}{Boolean Options and directves}{booloptions}
  16. Short & long & Opt & Explanation \\ \hline
  17. \bdir{A} & \lbdir{ALIGN} & & Data alignment \\
  18. \bdir{B} & \lbdir{BOOLEVAL} & & Boolean evaluation mode \\
  19. \bdir{C} & \lbdir{ASSERTIONS} & \copt{Sa} & Include assertions \\
  20. \bdir{D} & \lbdir{DEBUGINFO} & \copt{g} & Include debug info \\
  21. \bdir{E} & & & Coprocessor emulation \\
  22. \bdir{F} & & & Far or near function (ignored) \\
  23. \bdir{G} & & & generate 80286 code (ignored) \\
  24. & \lbdir{GOTO} & \copt{Sg} & Support \var{GOTO} and \var{Label}\\
  25. & \lbdir{HINTS} & \copt{vh} & Show hints \\
  26. \bdir{H} & \lbdir{LONGSTRINGS} & \copt{Sh} & Use ansistrings\\
  27. \bdir{I} & \lbdir{IOCHECKS} & \copt{Ci} & Check I/O operation result \\
  28. & \lbdir{INLINE} & \copt{Si} & Allow inline code \\
  29. \bdir{L} & \lbdir{LOCALSYMBOLS} & & Local symbol information \\
  30. \bdir{M} & \lbdir{TYPEINFO} & & Generate RTTI for classes \\
  31. & \lbdir{MMX} & & Intel MMX support \\
  32. \bdir{N} & & & Floating point sypport \\
  33. & \lbdir{NOTES} & \copt{vn} & Emit notes \\
  34. \bdir{O} & & & Support overlays (ignored) \\
  35. \bdir{P} & \lbdir{OPENSTRINGS} & & Support open strings \\
  36. \bdir{Q} & \lbdir{OVERFLOWCHECKS} & \copt{Co} & Overflow checking \\
  37. \bdir{R} & \lbdir{RANGECHEKS} & \copt{Cr} & Range checks \\
  38. \bdir{S} & & \copt{Ct} & Stack checks \\
  39. & \lbdir{SMARTLINK} & \copt{CX} & Use smartlinking \\
  40. & \lbdir{STATIC} & \copt{St} & Allow use of \var{static} \\
  41. \bdir{T} & \lbdir{TYPEDADDRESS} & & Types addresses \\ \hline
  42. %
  43. %
  44. \end{FPCltable}
  45. \begin{FPCltable}{llll}{Options and directives}{options}
  46. Short & long & Opt & Explanation \\ \hline
  47. & \dir{APPTYPE} & \copt{W} & Application type (Win32/OS2) \\
  48. & \dir{ASMMODE} & \copt{R} & Assembler reader modus \\
  49. %% & \dir{COPYRIGHT} & & Netware module copyright string \\
  50. & \dir{DEFINE} & \copt{d} & Define symbol \\
  51. & \dir{DESCRIPTION} & & Set program description \\
  52. & \dir{ELSE} & & Conditional compilation switch \\
  53. & \dir{ENDIF} & & Conditional compilation end \\
  54. & \dir{FATAL} & & report fatal error \\
  55. & \dir{HINT} & & Emit hint message\\
  56. \dir{I file} & \dir{INCLUDE} & & Include file or literal text \\
  57. & \dir{IF} & & Conditional compilation start \\
  58. & \dir{IFDEF NAME} & & Conditional compilation start \\
  59. & \dir{IFNDEF} & & Conditional compilation start \\
  60. & \dir{IFOPT} & & Conditional compilation start \\
  61. & \dir{INCLUDEPATH} & \copt{Fi} & set include path \\
  62. & \dir{INFO} & & Emit information message \\
  63. \dir{L file} & \dir{LINK} & & Link object file \\
  64. & \dir{LIBRARYPATH} & \copt{Fl} & Set library path\\
  65. & \dir{LINKLIB name} & & link library \\
  66. \dir{M MIN,MAX} & \dir{MEMORY} & & Set memory sizes \\
  67. & \dir{MACRO} & \copt{Sm} & Allow use of macros \\
  68. & \dir{MESSAGE} & & Emit message \\
  69. & \dir{MODE} & & Set compatibility mode \\
  70. & \dir{NOTE} & & Emite note message \\
  71. & \dir{OBJECTPATH} & \copt{Fo} & Set object path \\
  72. & \dir{OUTPUT} & \copt{A} & Set output format \\
  73. & \dir{PACKENUM} & & Enumeration type size \\
  74. & \dir{PACKRECORDS} & & Record element alignment \\
  75. & \dir{SATURATION} & & Saturation (ignored) \\
  76. %% & \dir{SCREENNAME} & & Netware Module CLib-screenname \\
  77. & \dir{STOP} & & Stop compilation \\
  78. & \dir{UNDEF} & \copt{u} & Undefine symbol \\ \hline
  79. %% & \dir{VERSION} & & Set Netware Module Version number \\
  80. %
  81. %
  82. \end{FPCltable}