<aname="l3"></a>Use </span><ahref="https://zeal-operating-system.github.io/ZealOS/Compiler/CMisc.CC.html#l1"><spanclass=cF4>Option</span></a><spanclass=cF0>(). You might need to do </span><spanclass=cF2>#exe {Option();}</span><spanclass=cF0>.
<aname="l5"></a></span><ahref="https://zeal-operating-system.github.io/ZealOS/Kernel/KernelA.HH.html#l1685"><spanclass=cF4>OPTf_GLOBALS_ON_DATA_HEAP</span></a><spanclass=cF0> without this option, global variables are placed in the code heap which is limited to 2Gig. In </span><spanclass=cF2>AOT</span><spanclass=cF0>
<aname="l6"></a>modules, global variables take-up room in the </span><spanclass=cF2>.BIN</span><spanclass=cF0> file, so you might want to use this option, instead. You might wish to
<aname="l7"></a>turn it on and off around specific variables. A disadvantage of data heap global variables in </span><spanclass=cF2>AOT</span><spanclass=cF0> modules is they can't be
<aname="l10"></a></span><ahref="https://zeal-operating-system.github.io/ZealOS/Kernel/KernelA.HH.html#l1682"><spanclass=cF4>OPTf_EXTERNS_TO_IMPORTS</span></a><spanclass=cF0> and </span><ahref="https://zeal-operating-system.github.io/ZealOS/Kernel/KernelA.HH.html#l1683"><spanclass=cF4>OPTf_KEEP_PRIVATE</span></a><spanclass=cF0> are strange options, you'll never need. They're to allow the same header file
<aname="l11"></a>for </span><spanclass=cF2>Kernel</span><spanclass=cF0> to act as </span><spanclass=cF2>extern</span><spanclass=cF0>s when compiling itself and </span><spanclass=cF2>import</span><spanclass=cF0>s when compiled by </span><spanclass=cF2>AOT</span><spanclass=cF0> modules.
<aname="l12"></a></span><spanclass=cF4>
<aname="l13"></a></span><ahref="https://zeal-operating-system.github.io/ZealOS/Kernel/KernelA.HH.html#l1678"><spanclass=cF4>OPTf_WARN_UNUSED_VAR</span></a><spanclass=cF0> warning if unused variable. It is applied to functions.
<aname="l14"></a></span><spanclass=cF4>
<aname="l15"></a></span><ahref="https://zeal-operating-system.github.io/ZealOS/Kernel/KernelA.HH.html#l1679"><spanclass=cF4>OPTf_WARN_PAREN</span></a><spanclass=cF0> warning if parenthesis are not needed.
<aname="l16"></a></span><spanclass=cF4>
<aname="l17"></a></span><ahref="https://zeal-operating-system.github.io/ZealOS/Kernel/KernelA.HH.html#l1680"><spanclass=cF4>OPTf_WARN_DUP_TYPES</span></a><spanclass=cF0> warning if duplicate local variable type statements.
<aname="l18"></a></span><spanclass=cF4>
<aname="l19"></a></span><ahref="https://zeal-operating-system.github.io/ZealOS/Kernel/KernelA.HH.html#l1681"><spanclass=cF4>OPTf_WARN_HEADER_MISMATCH</span></a><spanclass=cF0> warning if function header does not match.
<aname="l20"></a></span><spanclass=cF4>
<aname="l21"></a></span><ahref="https://zeal-operating-system.github.io/ZealOS/Kernel/KernelA.HH.html#l1684"><spanclass=cF4>OPTf_NO_REG_VAR</span></a><spanclass=cF0> forces all function local variables to the stack not registers. Applied to functions.
<aname="l22"></a></span><spanclass=cF4>
<aname="l23"></a></span><ahref="https://zeal-operating-system.github.io/ZealOS/Kernel/KernelA.HH.html#l1687"><spanclass=cF4>OPTf_NO_BUILTIN_CONST</span></a><spanclass=cF0> Disable 10-byte float consts for pi, log2_10, log10_2, loge_2. Applied to functions.