Files
Nim/compiler/extccomp.html
github-actions[bot] 0959c92f95 Deploy to GitHub pages
2025-12-28 23:31:00 +00:00

869 lines
106 KiB
HTML

<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- This file is generated by Nim. -->
<html xmlns="https://www.w3.org/1999/xhtml" xml:lang="en" lang="en" data-theme="auto">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>extccomp</title>
<!-- Google fonts -->
<link href='https://fonts.googleapis.com/css?family=Lato:400,600,900' rel='stylesheet' type='text/css'/>
<link href='https://fonts.googleapis.com/css?family=Source+Code+Pro:400,500,600' rel='stylesheet' type='text/css'/>
<!-- Favicon -->
<link rel="shortcut icon" href="data:image/x-icon;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAUAAAAF////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAIAAABbAAAAlQAAAKIAAACbAAAAmwAAAKIAAACVAAAAWwAAAAL///8A////AP///wD///8A////AAAAABQAAADAAAAAYwAAAA3///8A////AP///wD///8AAAAADQAAAGMAAADAAAAAFP///wD///8A////AP///wAAAACdAAAAOv///wD///8A////AP///wD///8A////AP///wD///8AAAAAOgAAAJ3///8A////AP///wAAAAAnAAAAcP///wAAAAAoAAAASv///wD///8A////AP///wAAAABKAAAAKP///wAAAABwAAAAJ////wD///8AAAAAgQAAABwAAACIAAAAkAAAAJMAAACtAAAAFQAAABUAAACtAAAAkwAAAJAAAACIAAAAHAAAAIH///8A////AAAAAKQAAACrAAAAaP///wD///8AAAAARQAAANIAAADSAAAARf///wD///8AAAAAaAAAAKsAAACk////AAAAADMAAACcAAAAnQAAABj///8A////AP///wAAAAAYAAAAGP///wD///8A////AAAAABgAAACdAAAAnAAAADMAAAB1AAAAwwAAAP8AAADpAAAAsQAAAE4AAAAb////AP///wAAAAAbAAAATgAAALEAAADpAAAA/wAAAMMAAAB1AAAAtwAAAOkAAAD/AAAA/wAAAP8AAADvAAAA3gAAAN4AAADeAAAA3gAAAO8AAAD/AAAA/wAAAP8AAADpAAAAtwAAAGUAAAA/AAAA3wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAADfAAAAPwAAAGX///8A////AAAAAEgAAADtAAAAvwAAAL0AAADGAAAA7wAAAO8AAADGAAAAvQAAAL8AAADtAAAASP///wD///8A////AP///wD///8AAAAAO////wD///8A////AAAAAIcAAACH////AP///wD///8AAAAAO////wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A//8AAP//AAD4HwAA7/cAAN/7AAD//wAAoYUAAJ55AACf+QAAh+EAAAAAAADAAwAA4AcAAP5/AAD//wAA//8AAA=="/>
<link rel="icon" type="image/png" sizes="32x32" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH4QQQEwksSS9ZWwAAAk1JREFUWMPtll2ITVEUx39nn/O7Y5qR8f05wtCUUr6ZIS++8pEnkZInPImneaCQ5METNdOkeFBKUhMPRIkHKfEuUZSUlGlKPN2TrgfncpvmnntnmlEyq1Z7t89/rf9a6+y99oZxGZf/XeIq61EdtgKXgdXA0xrYAvBjOIF1AI9zvjcC74BSpndrJPkBWDScTF8Aa4E3wDlgHbASaANmVqlcCnwHvgDvgVfAJ+AikAAvgfVZwLnSVZHZaOuKoQi3ZOMi4NkYkpe1p4J7A8BpYAD49hfIy/oqG0+hLomiKP2L5L+1ubn5115S+3OAn4EnwBlgMzCjyt6ZAnQCJ4A7wOs88iRJHvw50HoujuPBoCKwHWiosy8MdfZnAdcHk8dxXFJ3VQbQlCTJvRBCGdRbD4M6uc5glpY3eAihpN5S5w12diSEcCCEcKUO4ljdr15T76ur1FDDLIQQ3qv71EdDOe3Kxj3leRXyk+pxdWnFWod6Wt2bY3de3aSuUHcPBVimHs7mK9WrmeOF6lR1o9qnzskh2ar2qm1qizpfXaPeVGdlmGN5pb09qMxz1Xb1kLqgzn1RyH7JUXW52lr5e/Kqi9qpto7V1atuUzfnARrV7jEib1T76gG2qxdGmXyiekkt1GswPTtek0aBfJp6YySGBfWg2tPQ0FAYgf1stUfdmdcjarbYJEniKIq6gY/Aw+zWHAC+p2labGpqiorFYgGYCEzN7oQdQClN07O1/EfDyGgC0ALMBdYAi4FyK+4H3gLPsxfR1zRNi+NP7nH5J+QntnXe5B5mpfQAAAAASUVORK5CYII=">
<!-- CSS -->
<link rel="stylesheet" type="text/css" href="nimdoc.out.css?v=2.3.1">
<!-- JS -->
<script type="text/javascript" src="dochack.js?v=2.3.1"></script>
</head>
<body>
<div class="document" id="documentId">
<div class="container">
<h1 class="title">extccomp</h1>
<div class="row">
<div class="three columns">
<div class="theme-select-wrapper">
<label for="theme-select">Theme:&nbsp;</label>
<select id="theme-select" onchange="setTheme(this.value)">
<option value="auto">🌗 Match OS</option>
<option value="dark">🌑 Dark</option>
<option value="light">🌕 Light</option>
</select>
</div>
<div id="global-links">
<ul class="simple">
<li><a id="indexLink" href="theindex.html">Index</a></li>
</ul>
</div>
<div id="searchInputDiv">
Search: <input type="search" id="searchInput" oninput="search()"/>
</div>
<div>
Group by:
<select onchange="groupBy(this.value)">
<option value="section">Section</option>
<option value="type">Type</option>
</select>
</div>
<ul class="simple simple-toc" id="toc-list">
<li>
<a class="reference reference-toplevel" href="#6" id="56">Imports</a>
</li>
<li>
<details open>
<summary><a class="reference reference-toplevel" href="#7" id="57">Types</a></summary>
<ul class="simple simple-toc-section">
<li><a class="reference" href="#TInfoCC" title="TInfoCC = tuple[name: string, objExt: string, optSpeed: string, optSize: string,
compilerExe: string, cppCompiler: string, compileTmpl: string,
buildGui: string, buildDll: string, buildLib: string,
linkerExe: string, linkTmpl: string, includeCmd: string,
linkDirCmd: string, linkLibCmd: string, debug: string,
pic: string, asmStmtFrmt: string, structStmtFmt: string,
produceAsm: string, cppXsupport: string, props: TInfoCCProps]">TInfoCC</a></li>
<li><a class="reference" href="#TInfoCCProp" title="TInfoCCProp = enum
hasSwitchRange, hasComputedGoto, hasCpp, hasAssume, hasGcGuard, hasGnuAsm,
hasDeclspec, hasAttribute, hasBuiltinUnreachable">TInfoCCProp</a></li>
<li><a class="reference" href="#TInfoCCProps" title="TInfoCCProps = set[TInfoCCProp]">TInfoCCProps</a></li>
</ul>
</details>
</li>
<li>
<details open>
<summary><a class="reference reference-toplevel" href="#10" id="60">Consts</a></summary>
<ul class="simple simple-toc-section">
<li><a class="reference" href="#CC" title="CC: array[succ(low(TSystemCC)) .. high(TSystemCC), TInfoCC] = [(&quot;gcc&quot;, &quot;o&quot;,
&quot; -O3 -fno-ident&quot;, &quot; -Os -fno-ident&quot;, &quot;gcc&quot;, &quot;g++&quot;,
&quot;-c $options $include -o $objfile $file&quot;, &quot; -mwindows&quot;, &quot; -shared&quot;,
&quot;ar rcs $libfile $objfiles&quot;, &quot;&quot;,
&quot;$buildgui $builddll -o $exefile $objfiles $options&quot;, &quot; -I&quot;, &quot; -L&quot;, &quot; -l$1&quot;,
&quot;&quot;, &quot;-fPIC&quot;, &quot;__asm__($1);$n&quot;, &quot;$1 $3 $2 &quot;,
&quot;-Wa,-acdl=$asmfile -g -fverbose-asm -masm=intel&quot;,
&quot;-std=gnu++17 -funsigned-char&quot;, {hasSwitchRange, hasComputedGoto, hasCpp,
hasGcGuard, hasGnuAsm, hasAttribute,
hasBuiltinUnreachable}), (&quot;switch_gcc&quot;,
&quot;o&quot;, &quot; -O3 &quot;, &quot; -Os &quot;, &quot;aarch64-none-elf-gcc&quot;, &quot;aarch64-none-elf-g++&quot;,
&quot;-w -MMD -MP -MF $dfile -c $options $include -o $objfile $file&quot;,
&quot; -mwindows&quot;, &quot; -shared&quot;, &quot;aarch64-none-elf-gcc-ar rcs $libfile $objfiles&quot;,
&quot;aarch64-none-elf-gcc&quot;,
&quot;$buildgui $builddll -Wl,-Map,$mapfile -o $exefile $objfiles $options&quot;,
&quot; -I&quot;, &quot; -L&quot;, &quot; -l$1&quot;, &quot;&quot;, &quot;-fPIE&quot;, &quot;asm($1);$n&quot;, &quot;$1 $3 $2 &quot;,
&quot;-Wa,-acdl=$asmfile -g -fverbose-asm -masm=intel&quot;,
&quot;-std=gnu++17 -funsigned-char&quot;, {hasSwitchRange, hasComputedGoto, hasCpp,
hasGcGuard, hasGnuAsm, hasAttribute,
hasBuiltinUnreachable}), (&quot;llvm_gcc&quot;, &quot;o&quot;,
&quot; -O3 -fno-ident&quot;, &quot; -Os -fno-ident&quot;, &quot;llvm-gcc&quot;, &quot;llvm-g++&quot;,
&quot;-c $options $include -o $objfile $file&quot;, &quot; -mwindows&quot;, &quot; -shared&quot;,
&quot;llvm-ar rcs $libfile $objfiles&quot;, &quot;&quot;,
&quot;$buildgui $builddll -o $exefile $objfiles $options&quot;, &quot; -I&quot;, &quot; -L&quot;, &quot; -l$1&quot;,
&quot;&quot;, &quot;-fPIC&quot;, &quot;__asm__($1);$n&quot;, &quot;$1 $3 $2 &quot;,
&quot;-Wa,-acdl=$asmfile -g -fverbose-asm -masm=intel&quot;,
&quot;-std=gnu++17 -funsigned-char&quot;, {hasSwitchRange, hasComputedGoto, hasCpp,
hasGcGuard, hasGnuAsm, hasAttribute,
hasBuiltinUnreachable}), (&quot;clang&quot;, &quot;o&quot;,
&quot; -O3 -fno-ident&quot;, &quot; -Os -fno-ident&quot;, &quot;clang&quot;, &quot;clang++&quot;,
&quot;-c $options $include -o $objfile $file&quot;, &quot; -mwindows&quot;, &quot; -shared&quot;,
&quot;llvm-ar rcs $libfile $objfiles&quot;, &quot;&quot;,
&quot;$buildgui $builddll -o $exefile $objfiles $options&quot;, &quot; -I&quot;, &quot; -L&quot;, &quot; -l$1&quot;,
&quot;&quot;, &quot;-fPIC&quot;, &quot;__asm__($1);$n&quot;, &quot;$1 $3 $2 &quot;,
&quot;-Wa,-acdl=$asmfile -g -fverbose-asm -masm=intel&quot;,
&quot;-std=gnu++17 -funsigned-char&quot;, {hasSwitchRange, hasComputedGoto, hasCpp,
hasGcGuard, hasGnuAsm, hasAttribute,
hasBuiltinUnreachable}), (&quot;bcc&quot;, &quot;obj&quot;,
&quot; -O3 -6 &quot;, &quot; -O1 -6 &quot;, &quot;bcc32c&quot;, &quot;cpp32c&quot;,
&quot;-c $options $include -o$objfile $file&quot;, &quot; -tW&quot;, &quot; -tWD&quot;, &quot;&quot;, &quot;bcc32&quot;,
&quot;$options $buildgui $builddll -e$exefile $objfiles&quot;, &quot; -I&quot;, &quot;&quot;, &quot;&quot;, &quot;&quot;, &quot;&quot;,
&quot;__asm{$n$1$n}$n&quot;, &quot;$1 $2&quot;, &quot;&quot;, &quot;&quot;,
{hasSwitchRange, hasComputedGoto, hasCpp, hasGcGuard, hasAttribute}), (
&quot;vcc&quot;, &quot;obj&quot;, &quot; /Ogityb2 &quot;, &quot; /O1 &quot;, &quot;cl&quot;, &quot;cl&quot;,
&quot;/c$vccplatform $options $include /nologo /Fo$objfile $file&quot;,
&quot; /SUBSYSTEM:WINDOWS user32.lib &quot;, &quot; /LD&quot;,
&quot;vccexe --command:lib$vccplatform /nologo /OUT:$libfile $objfiles&quot;, &quot;cl&quot;,
&quot;$builddll$vccplatform /Fe$exefile $objfiles $buildgui /nologo $options&quot;,
&quot; /I&quot;, &quot; /link /LIBPATH:&quot;, &quot; $1.lib&quot;, &quot; /RTC1 /Z7 &quot;, &quot;&quot;, &quot;__asm{$n$1$n}$n&quot;,
&quot;$3$n$1 $2&quot;, &quot;/Fa$asmfile&quot;, &quot;&quot;, {hasCpp, hasAssume, hasDeclspec}), (&quot;tcc&quot;,
&quot;o&quot;, &quot;&quot;, &quot;&quot;, &quot;tcc&quot;, &quot;&quot;, &quot;-c $options $include -o $objfile $file&quot;,
&quot;-Wl,-subsystem=gui&quot;, &quot; -shared&quot;, &quot;&quot;, &quot;tcc&quot;,
&quot;-o $exefile $options $buildgui $builddll $objfiles&quot;, &quot; -I&quot;, &quot; -L&quot;, &quot; -l$1&quot;,
&quot; -g &quot;, &quot;&quot;, &quot;asm($1);$n&quot;, &quot;$1 $2&quot;,
&quot;-Wa,-acdl=$asmfile -g -fverbose-asm -masm=intel&quot;, &quot;&quot;,
{hasSwitchRange, hasComputedGoto, hasGnuAsm}), (&quot;env&quot;, &quot;o&quot;, &quot; -O3 &quot;,
&quot; -O1 &quot;, &quot;&quot;, &quot;&quot;, &quot;-c $ccenvflags $options $include -o $objfile $file&quot;, &quot;&quot;,
&quot; -shared &quot;, &quot;&quot;, &quot;&quot;, &quot;-o $exefile $buildgui $builddll $objfiles $options&quot;,
&quot; -I&quot;, &quot;&quot;, &quot;&quot;, &quot;&quot;, &quot;&quot;, &quot;__asm{$n$1$n}$n&quot;, &quot;$1 $2&quot;, &quot;&quot;, &quot;&quot;, {hasGnuAsm}), (
&quot;icl&quot;, &quot;obj&quot;, &quot; /Ogityb2 &quot;, &quot; /O1 &quot;, &quot;icl&quot;, &quot;cl&quot;,
&quot;/c$vccplatform $options $include /nologo /Fo$objfile $file&quot;,
&quot; /SUBSYSTEM:WINDOWS user32.lib &quot;, &quot; /LD&quot;,
&quot;vccexe --command:lib$vccplatform /nologo /OUT:$libfile $objfiles&quot;, &quot;icl&quot;,
&quot;$builddll$vccplatform /Fe$exefile $objfiles $buildgui /nologo $options&quot;,
&quot; /I&quot;, &quot; /link /LIBPATH:&quot;, &quot; $1.lib&quot;, &quot; /RTC1 /Z7 &quot;, &quot;&quot;, &quot;__asm{$n$1$n}$n&quot;,
&quot;$3$n$1 $2&quot;, &quot;/Fa$asmfile&quot;, &quot;&quot;, {hasCpp, hasAssume, hasDeclspec}), (&quot;icc&quot;,
&quot;o&quot;, &quot; -O3 -fno-ident&quot;, &quot; -Os -fno-ident&quot;, &quot;icc&quot;, &quot;g++&quot;,
&quot;-c $options $include -o $objfile $file&quot;, &quot; -mwindows&quot;, &quot; -shared&quot;,
&quot;ar rcs $libfile $objfiles&quot;, &quot;icc&quot;,
&quot;$buildgui $builddll -o $exefile $objfiles $options&quot;, &quot; -I&quot;, &quot; -L&quot;, &quot; -l$1&quot;,
&quot;&quot;, &quot;-fPIC&quot;, &quot;__asm__($1);$n&quot;, &quot;$1 $3 $2 &quot;,
&quot;-Wa,-acdl=$asmfile -g -fverbose-asm -masm=intel&quot;,
&quot;-std=gnu++17 -funsigned-char&quot;, {hasSwitchRange, hasComputedGoto, hasCpp,
hasGcGuard, hasGnuAsm, hasAttribute,
hasBuiltinUnreachable}), (&quot;clang_cl&quot;,
&quot;obj&quot;, &quot; /Ogityb2 &quot;, &quot; /O1 &quot;, &quot;clang-cl&quot;, &quot;clang-cl&quot;,
&quot;/c$vccplatform $options $include /nologo /Fo$objfile $file&quot;,
&quot; /SUBSYSTEM:WINDOWS user32.lib &quot;, &quot; /LD&quot;,
&quot;vccexe --command:lib$vccplatform /nologo /OUT:$libfile $objfiles&quot;,
&quot;clang-cl&quot;, &quot;-fuse-ld=lld $builddll$vccplatform /Fe$exefile $objfiles $buildgui /nologo $options&quot;,
&quot; /I&quot;, &quot; /link /LIBPATH:&quot;, &quot; $1.lib&quot;, &quot; /RTC1 /Z7 &quot;, &quot;&quot;, &quot;__asm{$n$1$n}$n&quot;,
&quot;$3$n$1 $2&quot;, &quot;/Fa$asmfile&quot;, &quot;&quot;, {hasCpp, hasAssume, hasDeclspec}), (&quot;hipcc&quot;,
&quot;o&quot;, &quot; -O3 -fno-ident&quot;, &quot; -Os -fno-ident&quot;, &quot;hipcc&quot;, &quot;hipcc&quot;,
&quot;-c $options $include -o $objfile $file&quot;, &quot; -mwindows&quot;, &quot; -shared&quot;,
&quot;llvm-ar rcs $libfile $objfiles&quot;, &quot;&quot;,
&quot;$buildgui $builddll -o $exefile $objfiles $options&quot;, &quot; -I&quot;, &quot; -L&quot;, &quot; -l$1&quot;,
&quot;&quot;, &quot;-fPIC&quot;, &quot;__asm__($1);$n&quot;, &quot;$1 $3 $2 &quot;,
&quot;-Wa,-acdl=$asmfile -g -fverbose-asm -masm=intel&quot;,
&quot;-std=gnu++17 -funsigned-char&quot;, {hasSwitchRange, hasComputedGoto, hasCpp,
hasGcGuard, hasGnuAsm, hasAttribute,
hasBuiltinUnreachable}), (&quot;nvcc&quot;, &quot;o&quot;,
&quot; -O3 -fno-ident&quot;, &quot; -Os -fno-ident&quot;, &quot;nvcc&quot;, &quot;nvcc&quot;,
&quot;-c -x cu -Xcompiler=\&quot;$options\&quot; $include -o $objfile $file&quot;, &quot; -mwindows&quot;,
&quot; -shared&quot;, &quot;ar rcs $libfile $objfiles&quot;, &quot;&quot;,
&quot;$buildgui $builddll -o $exefile $objfiles -Xcompiler=\&quot;$options\&quot;&quot;, &quot; -I&quot;,
&quot; -L&quot;, &quot; -l$1&quot;, &quot;&quot;, &quot;-fPIC&quot;, &quot;__asm__($1);$n&quot;, &quot;$1 $3 $2 &quot;,
&quot;-Wa,-acdl=$asmfile -g -fverbose-asm -masm=intel&quot;,
&quot;-std=gnu++17 -funsigned-char&quot;, {hasSwitchRange, hasComputedGoto, hasCpp,
hasGcGuard, hasGnuAsm, hasAttribute,
hasBuiltinUnreachable})]">CC</a></li>
<li><a class="reference" href="#hExt" title="hExt = &quot;.h&quot;">hExt</a></li>
</ul>
</details>
</li>
<li>
<details open>
<summary><a class="reference reference-toplevel" href="#12" id="62">Procs</a></summary>
<ul class="simple simple-toc-section">
<ul class="simple nested-toc-section">addCompileOption
<li><a class="reference" href="#addCompileOption%2CConfigRef%2Cstring" title="addCompileOption(conf: ConfigRef; option: string)">addCompileOption(conf: ConfigRef; option: string)</a></li>
</ul>
<ul class="simple nested-toc-section">addCompileOptionCmd
<li><a class="reference" href="#addCompileOptionCmd%2CConfigRef%2Cstring" title="addCompileOptionCmd(conf: ConfigRef; option: string)">addCompileOptionCmd(conf: ConfigRef; option: string)</a></li>
</ul>
<ul class="simple nested-toc-section">addExternalFileToCompile
<li><a class="reference" href="#addExternalFileToCompile%2CConfigRef%2CCfile" title="addExternalFileToCompile(conf: ConfigRef; c: var Cfile)">addExternalFileToCompile(conf: ConfigRef; c: var Cfile)</a></li>
<li><a class="reference" href="#addExternalFileToCompile%2CConfigRef%2CAbsoluteFile" title="addExternalFileToCompile(conf: ConfigRef; filename: AbsoluteFile)">addExternalFileToCompile(conf: ConfigRef; filename: AbsoluteFile)</a></li>
</ul>
<ul class="simple nested-toc-section">addExternalFileToLink
<li><a class="reference" href="#addExternalFileToLink%2CConfigRef%2CAbsoluteFile" title="addExternalFileToLink(conf: ConfigRef; filename: AbsoluteFile)">addExternalFileToLink(conf: ConfigRef; filename: AbsoluteFile)</a></li>
</ul>
<ul class="simple nested-toc-section">addFileToCompile
<li><a class="reference" href="#addFileToCompile%2CConfigRef%2CCfile" title="addFileToCompile(conf: ConfigRef; cf: Cfile)">addFileToCompile(conf: ConfigRef; cf: Cfile)</a></li>
</ul>
<ul class="simple nested-toc-section">addLinkOption
<li><a class="reference" href="#addLinkOption%2CConfigRef%2Cstring" title="addLinkOption(conf: ConfigRef; option: string)">addLinkOption(conf: ConfigRef; option: string)</a></li>
</ul>
<ul class="simple nested-toc-section">addLinkOptionCmd
<li><a class="reference" href="#addLinkOptionCmd%2CConfigRef%2Cstring" title="addLinkOptionCmd(conf: ConfigRef; option: string)">addLinkOptionCmd(conf: ConfigRef; option: string)</a></li>
</ul>
<ul class="simple nested-toc-section">addLocalCompileOption
<li><a class="reference" href="#addLocalCompileOption%2CConfigRef%2Cstring%2CAbsoluteFile" title="addLocalCompileOption(conf: ConfigRef; option: string; nimfile: AbsoluteFile)">addLocalCompileOption(conf: ConfigRef; option: string; nimfile: AbsoluteFile)</a></li>
</ul>
<ul class="simple nested-toc-section">callCCompiler
<li><a class="reference" href="#callCCompiler%2CConfigRef" title="callCCompiler(conf: ConfigRef)">callCCompiler(conf: ConfigRef)</a></li>
</ul>
<ul class="simple nested-toc-section">ccHasSaneOverflow
<li><a class="reference" href="#ccHasSaneOverflow%2CConfigRef" title="ccHasSaneOverflow(conf: ConfigRef): bool">ccHasSaneOverflow(conf: ConfigRef): bool</a></li>
</ul>
<ul class="simple nested-toc-section">changeDetectedViaJsonBuildInstructions
<li><a class="reference" href="#changeDetectedViaJsonBuildInstructions%2CConfigRef%2CAbsoluteFile" title="changeDetectedViaJsonBuildInstructions(conf: ConfigRef; jsonFile: AbsoluteFile): bool">changeDetectedViaJsonBuildInstructions(conf: ConfigRef; jsonFile: AbsoluteFile): bool</a></li>
</ul>
<ul class="simple nested-toc-section">completeCfilePath
<li><a class="reference" href="#completeCfilePath%2CConfigRef%2CAbsoluteFile%2Cbool" title="completeCfilePath(conf: ConfigRef; cfile: AbsoluteFile;
createSubDir: bool = true): AbsoluteFile">completeCfilePath(conf: ConfigRef; cfile: AbsoluteFile;
createSubDir: bool = true): AbsoluteFile</a></li>
</ul>
<ul class="simple nested-toc-section">execExternalProgram
<li><a class="reference" href="#execExternalProgram%2CConfigRef%2Cstring" title="execExternalProgram(conf: ConfigRef; cmd: string; msg = hintExecuting)">execExternalProgram(conf: ConfigRef; cmd: string; msg = hintExecuting)</a></li>
</ul>
<ul class="simple nested-toc-section">getCompileCFileCmd
<li><a class="reference" href="#getCompileCFileCmd%2CConfigRef%2CCfile" title="getCompileCFileCmd(conf: ConfigRef; cfile: Cfile; isMainFile = false;
produceOutput = false): string">getCompileCFileCmd(conf: ConfigRef; cfile: Cfile; isMainFile = false;
produceOutput = false): string</a></li>
</ul>
<ul class="simple nested-toc-section">initVars
<li><a class="reference" href="#initVars%2CConfigRef" title="initVars(conf: ConfigRef)">initVars(conf: ConfigRef)</a></li>
</ul>
<ul class="simple nested-toc-section">isVSCompatible
<li><a class="reference" href="#isVSCompatible%2CConfigRef" title="isVSCompatible(conf: ConfigRef): bool">isVSCompatible(conf: ConfigRef): bool</a></li>
</ul>
<ul class="simple nested-toc-section">jsonBuildInstructionsFile
<li><a class="reference" href="#jsonBuildInstructionsFile%2CConfigRef" title="jsonBuildInstructionsFile(conf: ConfigRef): AbsoluteFile">jsonBuildInstructionsFile(conf: ConfigRef): AbsoluteFile</a></li>
</ul>
<ul class="simple nested-toc-section">nameToCC
<li><a class="reference" href="#nameToCC%2Cstring" title="nameToCC(name: string): TSystemCC">nameToCC(name: string): TSystemCC</a></li>
</ul>
<ul class="simple nested-toc-section">resetCompilationLists
<li><a class="reference" href="#resetCompilationLists%2CConfigRef" title="resetCompilationLists(conf: ConfigRef)">resetCompilationLists(conf: ConfigRef)</a></li>
</ul>
<ul class="simple nested-toc-section">runJsonBuildInstructions
<li><a class="reference" href="#runJsonBuildInstructions%2CConfigRef%2CAbsoluteFile" title="runJsonBuildInstructions(conf: ConfigRef; jsonFile: AbsoluteFile)">runJsonBuildInstructions(conf: ConfigRef; jsonFile: AbsoluteFile)</a></li>
</ul>
<ul class="simple nested-toc-section">setCC
<li><a class="reference" href="#setCC%2CConfigRef%2Cstring%2CTLineInfo" title="setCC(conf: ConfigRef; ccname: string; info: TLineInfo)">setCC(conf: ConfigRef; ccname: string; info: TLineInfo)</a></li>
</ul>
<ul class="simple nested-toc-section">toObjFile
<li><a class="reference" href="#toObjFile%2CConfigRef%2CAbsoluteFile" title="toObjFile(conf: ConfigRef; filename: AbsoluteFile): AbsoluteFile">toObjFile(conf: ConfigRef; filename: AbsoluteFile): AbsoluteFile</a></li>
</ul>
<ul class="simple nested-toc-section">writeJsonBuildInstructions
<li><a class="reference" href="#writeJsonBuildInstructions%2CConfigRef%2CStringTableRef" title="writeJsonBuildInstructions(conf: ConfigRef; deps: StringTableRef)">writeJsonBuildInstructions(conf: ConfigRef; deps: StringTableRef)</a></li>
</ul>
<ul class="simple nested-toc-section">writeMapping
<li><a class="reference" href="#writeMapping%2CConfigRef%2CRope" title="writeMapping(conf: ConfigRef; symbolMapping: Rope)">writeMapping(conf: ConfigRef; symbolMapping: Rope)</a></li>
</ul>
</ul>
</details>
</li>
</ul>
</div>
<div class="nine columns" id="content">
<a href="https://github.com/nim-lang/Nim/tree/devel/compiler/extccomp.nim#L1" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
<a href="https://github.com/nim-lang/Nim/edit/devel/compiler/extccomp.nim#L1" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;
<div id="tocRoot"></div>
<p class="module-desc"></p>
<div class="section" id="6">
<h1><a class="toc-backref" href="#6">Imports</a></h1>
<dl class="item">
<a class="reference external" href="ropes.html">ropes</a>, <a class="reference external" href="platform.html">platform</a>, <a class="reference external" href="condsyms.html">condsyms</a>, <a class="reference external" href="options.html">options</a>, <a class="reference external" href="msgs.html">msgs</a>, <a class="reference external" href="lineinfos.html">lineinfos</a>, <a class="reference external" href="pathutils.html">pathutils</a>, <a class="reference external" href="modulepaths.html">modulepaths</a>
</dl>
</div>
<div class="section" id="7">
<h1><a class="toc-backref" href="#7">Types</a></h1>
<dl class="item">
<div id="TInfoCC">
<dt><pre><a href="extccomp.html#TInfoCC"><span class="Identifier">TInfoCC</span></a> <span class="Other">=</span> <span class="Keyword">tuple</span><span class="Other">[</span><span class="Identifier">name</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">,</span> <span class="Identifier">objExt</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">,</span> <span class="Identifier">optSpeed</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">,</span> <span class="Identifier">optSize</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">,</span>
<span class="Identifier">compilerExe</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">,</span> <span class="Identifier">cppCompiler</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">,</span> <span class="Identifier">compileTmpl</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">,</span>
<span class="Identifier">buildGui</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">,</span> <span class="Identifier">buildDll</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">,</span> <span class="Identifier">buildLib</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">,</span>
<span class="Identifier">linkerExe</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">,</span> <span class="Identifier">linkTmpl</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">,</span> <span class="Identifier">includeCmd</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">,</span>
<span class="Identifier">linkDirCmd</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">,</span> <span class="Identifier">linkLibCmd</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">,</span> <span class="Identifier">debug</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">,</span>
<span class="Identifier">pic</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">,</span> <span class="Identifier">asmStmtFrmt</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">,</span> <span class="Identifier">structStmtFmt</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">,</span>
<span class="Identifier">produceAsm</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">,</span> <span class="Identifier">cppXsupport</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">,</span> <span class="Identifier">props</span><span class="Other">:</span> <a href="extccomp.html#TInfoCCProps"><span class="Identifier">TInfoCCProps</span></a><span class="Other">]</span></pre></dt>
<dd>
<a href="https://github.com/nim-lang/Nim/tree/devel/compiler/extccomp.nim#L38" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
<a href="https://github.com/nim-lang/Nim/edit/devel/compiler/extccomp.nim#L38" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;
</dd>
</div>
<div id="TInfoCCProp">
<dt><pre><a href="extccomp.html#TInfoCCProp"><span class="Identifier">TInfoCCProp</span></a> <span class="Other">=</span> <span class="Keyword">enum</span>
<span class="Identifier">hasSwitchRange</span><span class="Other">,</span> <span class="Identifier">hasComputedGoto</span><span class="Other">,</span> <span class="Identifier">hasCpp</span><span class="Other">,</span> <span class="Identifier">hasAssume</span><span class="Other">,</span> <span class="Identifier">hasGcGuard</span><span class="Other">,</span> <span class="Identifier">hasGnuAsm</span><span class="Other">,</span>
<span class="Identifier">hasDeclspec</span><span class="Other">,</span> <span class="Identifier">hasAttribute</span><span class="Other">,</span> <span class="Identifier">hasBuiltinUnreachable</span></pre></dt>
<dd>
<a href="https://github.com/nim-lang/Nim/tree/devel/compiler/extccomp.nim#L27" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
<a href="https://github.com/nim-lang/Nim/edit/devel/compiler/extccomp.nim#L27" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;
</dd>
</div>
<div id="TInfoCCProps">
<dt><pre><a href="extccomp.html#TInfoCCProps"><span class="Identifier">TInfoCCProps</span></a> <span class="Other">=</span> <span class="Identifier">set</span><span class="Other">[</span><a href="extccomp.html#TInfoCCProp"><span class="Identifier">TInfoCCProp</span></a><span class="Other">]</span></pre></dt>
<dd>
<a href="https://github.com/nim-lang/Nim/tree/devel/compiler/extccomp.nim#L37" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
<a href="https://github.com/nim-lang/Nim/edit/devel/compiler/extccomp.nim#L37" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;
</dd>
</div>
</dl>
</div>
<div class="section" id="10">
<h1><a class="toc-backref" href="#10">Consts</a></h1>
<dl class="item">
<div id="CC">
<dt><pre><a href="extccomp.html#CC"><span class="Identifier">CC</span></a><span class="Other">:</span> <span class="Identifier">array</span><span class="Other">[</span><span class="Identifier">succ</span><span class="Other">(</span><span class="Identifier">low</span><span class="Other">(</span><a href="options.html#TSystemCC"><span class="Identifier">TSystemCC</span></a><span class="Other">)</span><span class="Other">)</span> <span class="Operator">..</span> <span class="Identifier">high</span><span class="Other">(</span><a href="options.html#TSystemCC"><span class="Identifier">TSystemCC</span></a><span class="Other">)</span><span class="Other">,</span> <a href="extccomp.html#TInfoCC"><span class="Identifier">TInfoCC</span></a><span class="Other">]</span> <span class="Other">=</span> <span class="Other">[</span><span class="Other">(</span><span class="StringLit">&quot;gcc&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;o&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot; -O3 -fno-ident&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; -Os -fno-ident&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;gcc&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;g++&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;-c $options $include -o $objfile $file&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; -mwindows&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; -shared&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;ar rcs $libfile $objfiles&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;$buildgui $builddll -o $exefile $objfiles $options&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; -I&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; -L&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; -l$1&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;-fPIC&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;__asm__($1);$n&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;$1 $3 $2 &quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;-Wa,-acdl=$asmfile -g -fverbose-asm -masm=intel&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;-std=gnu++17 -funsigned-char&quot;</span><span class="Other">,</span> <span class="Other">{</span><span class="DecNumber">hasSwitchRange</span><span class="Other">,</span> <span class="DecNumber">hasComputedGoto</span><span class="Other">,</span> <span class="DecNumber">hasCpp</span><span class="Other">,</span>
<span class="DecNumber">hasGcGuard</span><span class="Other">,</span> <span class="DecNumber">hasGnuAsm</span><span class="Other">,</span> <span class="DecNumber">hasAttribute</span><span class="Other">,</span>
<span class="DecNumber">hasBuiltinUnreachable</span><span class="Other">}</span><span class="Other">)</span><span class="Other">,</span> <span class="Other">(</span><span class="StringLit">&quot;switch_gcc&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;o&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; -O3 &quot;</span><span class="Other">,</span> <span class="StringLit">&quot; -Os &quot;</span><span class="Other">,</span> <span class="StringLit">&quot;aarch64-none-elf-gcc&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;aarch64-none-elf-g++&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;-w -MMD -MP -MF $dfile -c $options $include -o $objfile $file&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot; -mwindows&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; -shared&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;aarch64-none-elf-gcc-ar rcs $libfile $objfiles&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;aarch64-none-elf-gcc&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;$buildgui $builddll -Wl,-Map,$mapfile -o $exefile $objfiles $options&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot; -I&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; -L&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; -l$1&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;-fPIE&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;asm($1);$n&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;$1 $3 $2 &quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;-Wa,-acdl=$asmfile -g -fverbose-asm -masm=intel&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;-std=gnu++17 -funsigned-char&quot;</span><span class="Other">,</span> <span class="Other">{</span><span class="DecNumber">hasSwitchRange</span><span class="Other">,</span> <span class="DecNumber">hasComputedGoto</span><span class="Other">,</span> <span class="DecNumber">hasCpp</span><span class="Other">,</span>
<span class="DecNumber">hasGcGuard</span><span class="Other">,</span> <span class="DecNumber">hasGnuAsm</span><span class="Other">,</span> <span class="DecNumber">hasAttribute</span><span class="Other">,</span>
<span class="DecNumber">hasBuiltinUnreachable</span><span class="Other">}</span><span class="Other">)</span><span class="Other">,</span> <span class="Other">(</span><span class="StringLit">&quot;llvm_gcc&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;o&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot; -O3 -fno-ident&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; -Os -fno-ident&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;llvm-gcc&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;llvm-g++&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;-c $options $include -o $objfile $file&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; -mwindows&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; -shared&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;llvm-ar rcs $libfile $objfiles&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;$buildgui $builddll -o $exefile $objfiles $options&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; -I&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; -L&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; -l$1&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;-fPIC&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;__asm__($1);$n&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;$1 $3 $2 &quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;-Wa,-acdl=$asmfile -g -fverbose-asm -masm=intel&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;-std=gnu++17 -funsigned-char&quot;</span><span class="Other">,</span> <span class="Other">{</span><span class="DecNumber">hasSwitchRange</span><span class="Other">,</span> <span class="DecNumber">hasComputedGoto</span><span class="Other">,</span> <span class="DecNumber">hasCpp</span><span class="Other">,</span>
<span class="DecNumber">hasGcGuard</span><span class="Other">,</span> <span class="DecNumber">hasGnuAsm</span><span class="Other">,</span> <span class="DecNumber">hasAttribute</span><span class="Other">,</span>
<span class="DecNumber">hasBuiltinUnreachable</span><span class="Other">}</span><span class="Other">)</span><span class="Other">,</span> <span class="Other">(</span><span class="StringLit">&quot;clang&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;o&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot; -O3 -fno-ident&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; -Os -fno-ident&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;clang&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;clang++&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;-c $options $include -o $objfile $file&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; -mwindows&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; -shared&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;llvm-ar rcs $libfile $objfiles&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;$buildgui $builddll -o $exefile $objfiles $options&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; -I&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; -L&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; -l$1&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;-fPIC&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;__asm__($1);$n&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;$1 $3 $2 &quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;-Wa,-acdl=$asmfile -g -fverbose-asm -masm=intel&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;-std=gnu++17 -funsigned-char&quot;</span><span class="Other">,</span> <span class="Other">{</span><span class="DecNumber">hasSwitchRange</span><span class="Other">,</span> <span class="DecNumber">hasComputedGoto</span><span class="Other">,</span> <span class="DecNumber">hasCpp</span><span class="Other">,</span>
<span class="DecNumber">hasGcGuard</span><span class="Other">,</span> <span class="DecNumber">hasGnuAsm</span><span class="Other">,</span> <span class="DecNumber">hasAttribute</span><span class="Other">,</span>
<span class="DecNumber">hasBuiltinUnreachable</span><span class="Other">}</span><span class="Other">)</span><span class="Other">,</span> <span class="Other">(</span><span class="StringLit">&quot;bcc&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;obj&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot; -O3 -6 &quot;</span><span class="Other">,</span> <span class="StringLit">&quot; -O1 -6 &quot;</span><span class="Other">,</span> <span class="StringLit">&quot;bcc32c&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;cpp32c&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;-c $options $include -o$objfile $file&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; -tW&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; -tWD&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;bcc32&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;$options $buildgui $builddll -e$exefile $objfiles&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; -I&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;__asm{$n$1$n}$n&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;$1 $2&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;&quot;</span><span class="Other">,</span>
<span class="Other">{</span><span class="DecNumber">hasSwitchRange</span><span class="Other">,</span> <span class="DecNumber">hasComputedGoto</span><span class="Other">,</span> <span class="DecNumber">hasCpp</span><span class="Other">,</span> <span class="DecNumber">hasGcGuard</span><span class="Other">,</span> <span class="DecNumber">hasAttribute</span><span class="Other">}</span><span class="Other">)</span><span class="Other">,</span> <span class="Other">(</span>
<span class="StringLit">&quot;vcc&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;obj&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; /Ogityb2 &quot;</span><span class="Other">,</span> <span class="StringLit">&quot; /O1 &quot;</span><span class="Other">,</span> <span class="StringLit">&quot;cl&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;cl&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;/c$vccplatform $options $include /nologo /Fo$objfile $file&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot; /SUBSYSTEM:WINDOWS user32.lib &quot;</span><span class="Other">,</span> <span class="StringLit">&quot; /LD&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;vccexe --command:lib$vccplatform /nologo /OUT:$libfile $objfiles&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;cl&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;$builddll$vccplatform /Fe$exefile $objfiles $buildgui /nologo $options&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot; /I&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; /link /LIBPATH:&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; $1.lib&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; /RTC1 /Z7 &quot;</span><span class="Other">,</span> <span class="StringLit">&quot;&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;__asm{$n$1$n}$n&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;$3$n$1 $2&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;/Fa$asmfile&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;&quot;</span><span class="Other">,</span> <span class="Other">{</span><span class="DecNumber">hasCpp</span><span class="Other">,</span> <span class="DecNumber">hasAssume</span><span class="Other">,</span> <span class="DecNumber">hasDeclspec</span><span class="Other">}</span><span class="Other">)</span><span class="Other">,</span> <span class="Other">(</span><span class="StringLit">&quot;tcc&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;o&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;tcc&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;-c $options $include -o $objfile $file&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;-Wl,-subsystem=gui&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; -shared&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;tcc&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;-o $exefile $options $buildgui $builddll $objfiles&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; -I&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; -L&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; -l$1&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot; -g &quot;</span><span class="Other">,</span> <span class="StringLit">&quot;&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;asm($1);$n&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;$1 $2&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;-Wa,-acdl=$asmfile -g -fverbose-asm -masm=intel&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;&quot;</span><span class="Other">,</span>
<span class="Other">{</span><span class="DecNumber">hasSwitchRange</span><span class="Other">,</span> <span class="DecNumber">hasComputedGoto</span><span class="Other">,</span> <span class="DecNumber">hasGnuAsm</span><span class="Other">}</span><span class="Other">)</span><span class="Other">,</span> <span class="Other">(</span><span class="StringLit">&quot;env&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;o&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; -O3 &quot;</span><span class="Other">,</span>
<span class="StringLit">&quot; -O1 &quot;</span><span class="Other">,</span> <span class="StringLit">&quot;&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;-c $ccenvflags $options $include -o $objfile $file&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot; -shared &quot;</span><span class="Other">,</span> <span class="StringLit">&quot;&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;-o $exefile $buildgui $builddll $objfiles $options&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot; -I&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;__asm{$n$1$n}$n&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;$1 $2&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;&quot;</span><span class="Other">,</span> <span class="Other">{</span><span class="DecNumber">hasGnuAsm</span><span class="Other">}</span><span class="Other">)</span><span class="Other">,</span> <span class="Other">(</span>
<span class="StringLit">&quot;icl&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;obj&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; /Ogityb2 &quot;</span><span class="Other">,</span> <span class="StringLit">&quot; /O1 &quot;</span><span class="Other">,</span> <span class="StringLit">&quot;icl&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;cl&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;/c$vccplatform $options $include /nologo /Fo$objfile $file&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot; /SUBSYSTEM:WINDOWS user32.lib &quot;</span><span class="Other">,</span> <span class="StringLit">&quot; /LD&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;vccexe --command:lib$vccplatform /nologo /OUT:$libfile $objfiles&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;icl&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;$builddll$vccplatform /Fe$exefile $objfiles $buildgui /nologo $options&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot; /I&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; /link /LIBPATH:&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; $1.lib&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; /RTC1 /Z7 &quot;</span><span class="Other">,</span> <span class="StringLit">&quot;&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;__asm{$n$1$n}$n&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;$3$n$1 $2&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;/Fa$asmfile&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;&quot;</span><span class="Other">,</span> <span class="Other">{</span><span class="DecNumber">hasCpp</span><span class="Other">,</span> <span class="DecNumber">hasAssume</span><span class="Other">,</span> <span class="DecNumber">hasDeclspec</span><span class="Other">}</span><span class="Other">)</span><span class="Other">,</span> <span class="Other">(</span><span class="StringLit">&quot;icc&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;o&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; -O3 -fno-ident&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; -Os -fno-ident&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;icc&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;g++&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;-c $options $include -o $objfile $file&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; -mwindows&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; -shared&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;ar rcs $libfile $objfiles&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;icc&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;$buildgui $builddll -o $exefile $objfiles $options&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; -I&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; -L&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; -l$1&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;-fPIC&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;__asm__($1);$n&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;$1 $3 $2 &quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;-Wa,-acdl=$asmfile -g -fverbose-asm -masm=intel&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;-std=gnu++17 -funsigned-char&quot;</span><span class="Other">,</span> <span class="Other">{</span><span class="DecNumber">hasSwitchRange</span><span class="Other">,</span> <span class="DecNumber">hasComputedGoto</span><span class="Other">,</span> <span class="DecNumber">hasCpp</span><span class="Other">,</span>
<span class="DecNumber">hasGcGuard</span><span class="Other">,</span> <span class="DecNumber">hasGnuAsm</span><span class="Other">,</span> <span class="DecNumber">hasAttribute</span><span class="Other">,</span>
<span class="DecNumber">hasBuiltinUnreachable</span><span class="Other">}</span><span class="Other">)</span><span class="Other">,</span> <span class="Other">(</span><span class="StringLit">&quot;clang_cl&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;obj&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; /Ogityb2 &quot;</span><span class="Other">,</span> <span class="StringLit">&quot; /O1 &quot;</span><span class="Other">,</span> <span class="StringLit">&quot;clang-cl&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;clang-cl&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;/c$vccplatform $options $include /nologo /Fo$objfile $file&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot; /SUBSYSTEM:WINDOWS user32.lib &quot;</span><span class="Other">,</span> <span class="StringLit">&quot; /LD&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;vccexe --command:lib$vccplatform /nologo /OUT:$libfile $objfiles&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;clang-cl&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;-fuse-ld=lld $builddll$vccplatform /Fe$exefile $objfiles $buildgui /nologo $options&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot; /I&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; /link /LIBPATH:&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; $1.lib&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; /RTC1 /Z7 &quot;</span><span class="Other">,</span> <span class="StringLit">&quot;&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;__asm{$n$1$n}$n&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;$3$n$1 $2&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;/Fa$asmfile&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;&quot;</span><span class="Other">,</span> <span class="Other">{</span><span class="DecNumber">hasCpp</span><span class="Other">,</span> <span class="DecNumber">hasAssume</span><span class="Other">,</span> <span class="DecNumber">hasDeclspec</span><span class="Other">}</span><span class="Other">)</span><span class="Other">,</span> <span class="Other">(</span><span class="StringLit">&quot;hipcc&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;o&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; -O3 -fno-ident&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; -Os -fno-ident&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;hipcc&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;hipcc&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;-c $options $include -o $objfile $file&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; -mwindows&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; -shared&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;llvm-ar rcs $libfile $objfiles&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;$buildgui $builddll -o $exefile $objfiles $options&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; -I&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; -L&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; -l$1&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;-fPIC&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;__asm__($1);$n&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;$1 $3 $2 &quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;-Wa,-acdl=$asmfile -g -fverbose-asm -masm=intel&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;-std=gnu++17 -funsigned-char&quot;</span><span class="Other">,</span> <span class="Other">{</span><span class="DecNumber">hasSwitchRange</span><span class="Other">,</span> <span class="DecNumber">hasComputedGoto</span><span class="Other">,</span> <span class="DecNumber">hasCpp</span><span class="Other">,</span>
<span class="DecNumber">hasGcGuard</span><span class="Other">,</span> <span class="DecNumber">hasGnuAsm</span><span class="Other">,</span> <span class="DecNumber">hasAttribute</span><span class="Other">,</span>
<span class="DecNumber">hasBuiltinUnreachable</span><span class="Other">}</span><span class="Other">)</span><span class="Other">,</span> <span class="Other">(</span><span class="StringLit">&quot;nvcc&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;o&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot; -O3 -fno-ident&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; -Os -fno-ident&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;nvcc&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;nvcc&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;-c -x cu -Xcompiler=\&quot;$options\&quot; $include -o $objfile $file&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; -mwindows&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot; -shared&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;ar rcs $libfile $objfiles&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;$buildgui $builddll -o $exefile $objfiles -Xcompiler=\&quot;$options\&quot;&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; -I&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot; -L&quot;</span><span class="Other">,</span> <span class="StringLit">&quot; -l$1&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;-fPIC&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;__asm__($1);$n&quot;</span><span class="Other">,</span> <span class="StringLit">&quot;$1 $3 $2 &quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;-Wa,-acdl=$asmfile -g -fverbose-asm -masm=intel&quot;</span><span class="Other">,</span>
<span class="StringLit">&quot;-std=gnu++17 -funsigned-char&quot;</span><span class="Other">,</span> <span class="Other">{</span><span class="DecNumber">hasSwitchRange</span><span class="Other">,</span> <span class="DecNumber">hasComputedGoto</span><span class="Other">,</span> <span class="DecNumber">hasCpp</span><span class="Other">,</span>
<span class="DecNumber">hasGcGuard</span><span class="Other">,</span> <span class="DecNumber">hasGnuAsm</span><span class="Other">,</span> <span class="DecNumber">hasAttribute</span><span class="Other">,</span>
<span class="DecNumber">hasBuiltinUnreachable</span><span class="Other">}</span><span class="Other">)</span><span class="Other">]</span></pre></dt>
<dd>
<a href="https://github.com/nim-lang/Nim/tree/devel/compiler/extccomp.nim#L297" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
<a href="https://github.com/nim-lang/Nim/edit/devel/compiler/extccomp.nim#L297" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;
</dd>
</div>
<div id="hExt">
<dt><pre><a href="extccomp.html#hExt"><span class="Identifier">hExt</span></a> <span class="Other">=</span> <span class="StringLit">&quot;.h&quot;</span></pre></dt>
<dd>
<a href="https://github.com/nim-lang/Nim/tree/devel/compiler/extccomp.nim#L312" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
<a href="https://github.com/nim-lang/Nim/edit/devel/compiler/extccomp.nim#L312" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;
</dd>
</div>
</dl>
</div>
<div class="section" id="12">
<h1><a class="toc-backref" href="#12">Procs</a></h1>
<dl class="item">
<div id="addCompileOption-procs-all">
<div id="addCompileOption,ConfigRef,string">
<dt><pre><span class="Keyword">proc</span> <a href="#addCompileOption%2CConfigRef%2Cstring"><span class="Identifier">addCompileOption</span></a><span class="Other">(</span><span class="Identifier">conf</span><span class="Other">:</span> <a href="options.html#ConfigRef"><span class="Identifier">ConfigRef</span></a><span class="Other">;</span> <span class="Identifier">option</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
<span class="Identifier">forbids</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
<a href="https://github.com/nim-lang/Nim/tree/devel/compiler/extccomp.nim#L381" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
<a href="https://github.com/nim-lang/Nim/edit/devel/compiler/extccomp.nim#L381" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;
</dd>
</div>
</div>
<div id="addCompileOptionCmd-procs-all">
<div id="addCompileOptionCmd,ConfigRef,string">
<dt><pre><span class="Keyword">proc</span> <a href="#addCompileOptionCmd%2CConfigRef%2Cstring"><span class="Identifier">addCompileOptionCmd</span></a><span class="Other">(</span><span class="Identifier">conf</span><span class="Other">:</span> <a href="options.html#ConfigRef"><span class="Identifier">ConfigRef</span></a><span class="Other">;</span> <span class="Identifier">option</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">forbids</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
<a href="https://github.com/nim-lang/Nim/tree/devel/compiler/extccomp.nim#L388" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
<a href="https://github.com/nim-lang/Nim/edit/devel/compiler/extccomp.nim#L388" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;
</dd>
</div>
</div>
<div id="addExternalFileToCompile-procs-all">
<div id="addExternalFileToCompile,ConfigRef,Cfile">
<dt><pre><span class="Keyword">proc</span> <a href="#addExternalFileToCompile%2CConfigRef%2CCfile"><span class="Identifier">addExternalFileToCompile</span></a><span class="Other">(</span><span class="Identifier">conf</span><span class="Other">:</span> <a href="options.html#ConfigRef"><span class="Identifier">ConfigRef</span></a><span class="Other">;</span> <span class="Identifier">c</span><span class="Other">:</span> <span class="Keyword">var</span> <a href="options.html#Cfile"><span class="Identifier">Cfile</span></a><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">OSError</span><span class="Other">,</span>
<span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">,</span> <span class="Identifier">ERecoverableError</span><span class="Other">,</span> <span class="Identifier">EOFError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span>
<span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">,</span> <span class="Identifier">RootEffect</span><span class="Other">,</span> <span class="Identifier">ReadDirEffect</span><span class="Other">,</span> <span class="Identifier">WriteIOEffect</span><span class="Other">,</span>
<span class="Identifier">WriteDirEffect</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">forbids</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
<a href="https://github.com/nim-lang/Nim/tree/devel/compiler/extccomp.nim#L691" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
<a href="https://github.com/nim-lang/Nim/edit/devel/compiler/extccomp.nim#L691" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;
</dd>
</div>
<div id="addExternalFileToCompile,ConfigRef,AbsoluteFile">
<dt><pre><span class="Keyword">proc</span> <a href="#addExternalFileToCompile%2CConfigRef%2CAbsoluteFile"><span class="Identifier">addExternalFileToCompile</span></a><span class="Other">(</span><span class="Identifier">conf</span><span class="Other">:</span> <a href="options.html#ConfigRef"><span class="Identifier">ConfigRef</span></a><span class="Other">;</span> <span class="Identifier">filename</span><span class="Other">:</span> <a href="pathutils.html#AbsoluteFile"><span class="Identifier">AbsoluteFile</span></a><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span>
<span class="Identifier">OSError</span><span class="Other">,</span> <span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">,</span> <span class="Identifier">ERecoverableError</span><span class="Other">,</span>
<span class="Identifier">EOFError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">,</span> <span class="Identifier">WriteDirEffect</span><span class="Other">,</span>
<span class="Identifier">ReadDirEffect</span><span class="Other">,</span> <span class="Identifier">RootEffect</span><span class="Other">,</span> <span class="Identifier">WriteIOEffect</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">forbids</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
<a href="https://github.com/nim-lang/Nim/tree/devel/compiler/extccomp.nim#L703" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
<a href="https://github.com/nim-lang/Nim/edit/devel/compiler/extccomp.nim#L703" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;
</dd>
</div>
</div>
<div id="addExternalFileToLink-procs-all">
<div id="addExternalFileToLink,ConfigRef,AbsoluteFile">
<dt><pre><span class="Keyword">proc</span> <a href="#addExternalFileToLink%2CConfigRef%2CAbsoluteFile"><span class="Identifier">addExternalFileToLink</span></a><span class="Other">(</span><span class="Identifier">conf</span><span class="Other">:</span> <a href="options.html#ConfigRef"><span class="Identifier">ConfigRef</span></a><span class="Other">;</span> <span class="Identifier">filename</span><span class="Other">:</span> <a href="pathutils.html#AbsoluteFile"><span class="Identifier">AbsoluteFile</span></a><span class="Other">)</span> {.
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">forbids</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
<a href="https://github.com/nim-lang/Nim/tree/devel/compiler/extccomp.nim#L427" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
<a href="https://github.com/nim-lang/Nim/edit/devel/compiler/extccomp.nim#L427" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;
</dd>
</div>
</div>
<div id="addFileToCompile-procs-all">
<div id="addFileToCompile,ConfigRef,Cfile">
<dt><pre><span class="Keyword">proc</span> <a href="#addFileToCompile%2CConfigRef%2CCfile"><span class="Identifier">addFileToCompile</span></a><span class="Other">(</span><span class="Identifier">conf</span><span class="Other">:</span> <a href="options.html#ConfigRef"><span class="Identifier">ConfigRef</span></a><span class="Other">;</span> <span class="Identifier">cf</span><span class="Other">:</span> <a href="options.html#Cfile"><span class="Identifier">Cfile</span></a><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
<span class="Identifier">forbids</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
<a href="https://github.com/nim-lang/Nim/tree/devel/compiler/extccomp.nim#L409" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
<a href="https://github.com/nim-lang/Nim/edit/devel/compiler/extccomp.nim#L409" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;
</dd>
</div>
</div>
<div id="addLinkOption-procs-all">
<div id="addLinkOption,ConfigRef,string">
<dt><pre><span class="Keyword">proc</span> <a href="#addLinkOption%2CConfigRef%2Cstring"><span class="Identifier">addLinkOption</span></a><span class="Other">(</span><span class="Identifier">conf</span><span class="Other">:</span> <a href="options.html#ConfigRef"><span class="Identifier">ConfigRef</span></a><span class="Other">;</span> <span class="Identifier">option</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
<span class="Identifier">forbids</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
<a href="https://github.com/nim-lang/Nim/tree/devel/compiler/extccomp.nim#L378" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
<a href="https://github.com/nim-lang/Nim/edit/devel/compiler/extccomp.nim#L378" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;
</dd>
</div>
</div>
<div id="addLinkOptionCmd-procs-all">
<div id="addLinkOptionCmd,ConfigRef,string">
<dt><pre><span class="Keyword">proc</span> <a href="#addLinkOptionCmd%2CConfigRef%2Cstring"><span class="Identifier">addLinkOptionCmd</span></a><span class="Other">(</span><span class="Identifier">conf</span><span class="Other">:</span> <a href="options.html#ConfigRef"><span class="Identifier">ConfigRef</span></a><span class="Other">;</span> <span class="Identifier">option</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
<span class="Identifier">forbids</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
<a href="https://github.com/nim-lang/Nim/tree/devel/compiler/extccomp.nim#L385" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
<a href="https://github.com/nim-lang/Nim/edit/devel/compiler/extccomp.nim#L385" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;
</dd>
</div>
</div>
<div id="addLocalCompileOption-procs-all">
<div id="addLocalCompileOption,ConfigRef,string,AbsoluteFile">
<dt><pre><span class="Keyword">proc</span> <a href="#addLocalCompileOption%2CConfigRef%2Cstring%2CAbsoluteFile"><span class="Identifier">addLocalCompileOption</span></a><span class="Other">(</span><span class="Identifier">conf</span><span class="Other">:</span> <a href="options.html#ConfigRef"><span class="Identifier">ConfigRef</span></a><span class="Other">;</span> <span class="Identifier">option</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">;</span>
<span class="Identifier">nimfile</span><span class="Other">:</span> <a href="pathutils.html#AbsoluteFile"><span class="Identifier">AbsoluteFile</span></a><span class="Other">)</span> {.
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">OSError</span><span class="Other">,</span> <span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">Exception</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">,</span>
<span class="Identifier">WriteDirEffect</span><span class="Other">,</span> <span class="Identifier">ReadDirEffect</span><span class="Other">,</span> <span class="Identifier">RootEffect</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">forbids</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
<a href="https://github.com/nim-lang/Nim/tree/devel/compiler/extccomp.nim#L412" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
<a href="https://github.com/nim-lang/Nim/edit/devel/compiler/extccomp.nim#L412" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;
</dd>
</div>
</div>
<div id="callCCompiler-procs-all">
<div id="callCCompiler,ConfigRef">
<dt><pre><span class="Keyword">proc</span> <a href="#callCCompiler%2CConfigRef"><span class="Identifier">callCCompiler</span></a><span class="Other">(</span><span class="Identifier">conf</span><span class="Other">:</span> <a href="options.html#ConfigRef"><span class="Identifier">ConfigRef</span></a><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">,</span>
<span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">ERecoverableError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">RootEffect</span><span class="Other">,</span>
<span class="Identifier">ReadDirEffect</span><span class="Other">,</span> <span class="Identifier">WriteIOEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">,</span> <span class="Identifier">WriteDirEffect</span><span class="Other">,</span> <span class="Identifier">ExecIOEffect</span><span class="Other">,</span>
<span class="Identifier">TimeEffect</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">forbids</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
<a href="https://github.com/nim-lang/Nim/tree/devel/compiler/extccomp.nim#L971" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
<a href="https://github.com/nim-lang/Nim/edit/devel/compiler/extccomp.nim#L971" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;
</dd>
</div>
</div>
<div id="ccHasSaneOverflow-procs-all">
<div id="ccHasSaneOverflow,ConfigRef">
<dt><pre><span class="Keyword">proc</span> <a href="#ccHasSaneOverflow%2CConfigRef"><span class="Identifier">ccHasSaneOverflow</span></a><span class="Other">(</span><span class="Identifier">conf</span><span class="Other">:</span> <a href="options.html#ConfigRef"><span class="Identifier">ConfigRef</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">bool</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">ValueError</span><span class="Other">]</span><span class="Other">,</span>
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">ExecIOEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">,</span> <span class="Identifier">RootEffect</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">forbids</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
<a href="https://github.com/nim-lang/Nim/tree/devel/compiler/extccomp.nim#L561" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
<a href="https://github.com/nim-lang/Nim/edit/devel/compiler/extccomp.nim#L561" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;
</dd>
</div>
</div>
<div id="changeDetectedViaJsonBuildInstructions-procs-all">
<div id="changeDetectedViaJsonBuildInstructions,ConfigRef,AbsoluteFile">
<dt><pre><span class="Keyword">proc</span> <a href="#changeDetectedViaJsonBuildInstructions%2CConfigRef%2CAbsoluteFile"><span class="Identifier">changeDetectedViaJsonBuildInstructions</span></a><span class="Other">(</span><span class="Identifier">conf</span><span class="Other">:</span> <a href="options.html#ConfigRef"><span class="Identifier">ConfigRef</span></a><span class="Other">;</span>
<span class="Identifier">jsonFile</span><span class="Other">:</span> <a href="pathutils.html#AbsoluteFile"><span class="Identifier">AbsoluteFile</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">bool</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">OSError</span><span class="Other">,</span> <span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span>
<span class="Identifier">ReadDirEffect</span><span class="Other">,</span> <span class="Identifier">RootEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">,</span> <span class="Identifier">WriteIOEffect</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">forbids</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
<a href="https://github.com/nim-lang/Nim/tree/devel/compiler/extccomp.nim#L1122" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
<a href="https://github.com/nim-lang/Nim/edit/devel/compiler/extccomp.nim#L1122" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;
</dd>
</div>
</div>
<div id="completeCfilePath-procs-all">
<div id="completeCfilePath,ConfigRef,AbsoluteFile,bool">
<dt><pre><span class="Keyword">proc</span> <a href="#completeCfilePath%2CConfigRef%2CAbsoluteFile%2Cbool"><span class="Identifier">completeCfilePath</span></a><span class="Other">(</span><span class="Identifier">conf</span><span class="Other">:</span> <a href="options.html#ConfigRef"><span class="Identifier">ConfigRef</span></a><span class="Other">;</span> <span class="Identifier">cfile</span><span class="Other">:</span> <a href="pathutils.html#AbsoluteFile"><span class="Identifier">AbsoluteFile</span></a><span class="Other">;</span>
<span class="Identifier">createSubDir</span><span class="Other">:</span> <span class="Identifier">bool</span> <span class="Other">=</span> <span class="Identifier">true</span><span class="Other">)</span><span class="Other">:</span> <a href="pathutils.html#AbsoluteFile"><span class="Identifier">AbsoluteFile</span></a> {.
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">OSError</span><span class="Other">,</span> <span class="Identifier">IOError</span><span class="Other">]</span><span class="Other">,</span>
<span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">,</span> <span class="Identifier">WriteDirEffect</span><span class="Other">,</span> <span class="Identifier">ReadDirEffect</span><span class="Other">]</span><span class="Other">,</span>
<span class="Identifier">forbids</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
Generate the absolute file path to the generated modules.
<a href="https://github.com/nim-lang/Nim/tree/devel/compiler/extccomp.nim#L400" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
<a href="https://github.com/nim-lang/Nim/edit/devel/compiler/extccomp.nim#L400" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;
</dd>
</div>
</div>
<div id="execExternalProgram-procs-all">
<div id="execExternalProgram,ConfigRef,string">
<dt><pre><span class="Keyword">proc</span> <a href="#execExternalProgram%2CConfigRef%2Cstring"><span class="Identifier">execExternalProgram</span></a><span class="Other">(</span><span class="Identifier">conf</span><span class="Other">:</span> <a href="options.html#ConfigRef"><span class="Identifier">ConfigRef</span></a><span class="Other">;</span> <span class="Identifier">cmd</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">;</span> <span class="Identifier">msg</span> <span class="Other">=</span> <span class="Identifier">hintExecuting</span><span class="Other">)</span> {.
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">,</span> <span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">ERecoverableError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span>
<span class="Identifier">RootEffect</span><span class="Other">,</span> <span class="Identifier">ReadDirEffect</span><span class="Other">,</span> <span class="Identifier">WriteIOEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">,</span> <span class="Identifier">ReadEnvEffect</span><span class="Other">,</span>
<span class="Identifier">ExecIOEffect</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">forbids</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
<a href="https://github.com/nim-lang/Nim/tree/devel/compiler/extccomp.nim#L434" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
<a href="https://github.com/nim-lang/Nim/edit/devel/compiler/extccomp.nim#L434" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;
</dd>
</div>
</div>
<div id="getCompileCFileCmd-procs-all">
<div id="getCompileCFileCmd,ConfigRef,Cfile">
<dt><pre><span class="Keyword">proc</span> <a href="#getCompileCFileCmd%2CConfigRef%2CCfile"><span class="Identifier">getCompileCFileCmd</span></a><span class="Other">(</span><span class="Identifier">conf</span><span class="Other">:</span> <a href="options.html#ConfigRef"><span class="Identifier">ConfigRef</span></a><span class="Other">;</span> <span class="Identifier">cfile</span><span class="Other">:</span> <a href="options.html#Cfile"><span class="Identifier">Cfile</span></a><span class="Other">;</span> <span class="Identifier">isMainFile</span> <span class="Other">=</span> <span class="Identifier">false</span><span class="Other">;</span>
<span class="Identifier">produceOutput</span> <span class="Other">=</span> <span class="Identifier">false</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">string</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span>
<span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">,</span> <span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">ERecoverableError</span><span class="Other">,</span> <span class="Identifier">OSError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span>
<span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">RootEffect</span><span class="Other">,</span> <span class="Identifier">ReadDirEffect</span><span class="Other">,</span> <span class="Identifier">WriteIOEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">,</span>
<span class="Identifier">WriteDirEffect</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">forbids</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
<a href="https://github.com/nim-lang/Nim/tree/devel/compiler/extccomp.nim#L579" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
<a href="https://github.com/nim-lang/Nim/edit/devel/compiler/extccomp.nim#L579" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;
</dd>
</div>
</div>
<div id="initVars-procs-all">
<div id="initVars,ConfigRef">
<dt><pre><span class="Keyword">proc</span> <a href="#initVars%2CConfigRef"><span class="Identifier">initVars</span></a><span class="Other">(</span><span class="Identifier">conf</span><span class="Other">:</span> <a href="options.html#ConfigRef"><span class="Identifier">ConfigRef</span></a><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">forbids</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
<a href="https://github.com/nim-lang/Nim/tree/devel/compiler/extccomp.nim#L391" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
<a href="https://github.com/nim-lang/Nim/edit/devel/compiler/extccomp.nim#L391" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;
</dd>
</div>
</div>
<div id="isVSCompatible-procs-all">
<div id="isVSCompatible,ConfigRef">
<dt><pre><span class="Keyword">proc</span> <a href="#isVSCompatible%2CConfigRef"><span class="Identifier">isVSCompatible</span></a><span class="Other">(</span><span class="Identifier">conf</span><span class="Other">:</span> <a href="options.html#ConfigRef"><span class="Identifier">ConfigRef</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">bool</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">forbids</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
<a href="https://github.com/nim-lang/Nim/tree/devel/compiler/extccomp.nim#L333" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
<a href="https://github.com/nim-lang/Nim/edit/devel/compiler/extccomp.nim#L333" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;
</dd>
</div>
</div>
<div id="jsonBuildInstructionsFile-procs-all">
<div id="jsonBuildInstructionsFile,ConfigRef">
<dt><pre><span class="Keyword">proc</span> <a href="#jsonBuildInstructionsFile%2CConfigRef"><span class="Identifier">jsonBuildInstructionsFile</span></a><span class="Other">(</span><span class="Identifier">conf</span><span class="Other">:</span> <a href="options.html#ConfigRef"><span class="Identifier">ConfigRef</span></a><span class="Other">)</span><span class="Other">:</span> <a href="pathutils.html#AbsoluteFile"><span class="Identifier">AbsoluteFile</span></a> {.
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">OSError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">forbids</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
<a href="https://github.com/nim-lang/Nim/tree/devel/compiler/extccomp.nim#L1063" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
<a href="https://github.com/nim-lang/Nim/edit/devel/compiler/extccomp.nim#L1063" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;
</dd>
</div>
</div>
<div id="nameToCC-procs-all">
<div id="nameToCC,string">
<dt><pre><span class="Keyword">proc</span> <a href="#nameToCC%2Cstring"><span class="Identifier">nameToCC</span></a><span class="Other">(</span><span class="Identifier">name</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">)</span><span class="Other">:</span> <a href="options.html#TSystemCC"><span class="Identifier">TSystemCC</span></a> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">forbids</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
Returns the kind of compiler referred to by <tt class="docutils literal"><span class="pre"><span class="Identifier">name</span></span></tt>, or ccNone if the name doesn't refer to any known compiler.
<a href="https://github.com/nim-lang/Nim/tree/devel/compiler/extccomp.nim#L319" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
<a href="https://github.com/nim-lang/Nim/edit/devel/compiler/extccomp.nim#L319" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;
</dd>
</div>
</div>
<div id="resetCompilationLists-procs-all">
<div id="resetCompilationLists,ConfigRef">
<dt><pre><span class="Keyword">proc</span> <a href="#resetCompilationLists%2CConfigRef"><span class="Identifier">resetCompilationLists</span></a><span class="Other">(</span><span class="Identifier">conf</span><span class="Other">:</span> <a href="options.html#ConfigRef"><span class="Identifier">ConfigRef</span></a><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">forbids</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
<a href="https://github.com/nim-lang/Nim/tree/devel/compiler/extccomp.nim#L419" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
<a href="https://github.com/nim-lang/Nim/edit/devel/compiler/extccomp.nim#L419" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;
</dd>
</div>
</div>
<div id="runJsonBuildInstructions-procs-all">
<div id="runJsonBuildInstructions,ConfigRef,AbsoluteFile">
<dt><pre><span class="Keyword">proc</span> <a href="#runJsonBuildInstructions%2CConfigRef%2CAbsoluteFile"><span class="Identifier">runJsonBuildInstructions</span></a><span class="Other">(</span><span class="Identifier">conf</span><span class="Other">:</span> <a href="options.html#ConfigRef"><span class="Identifier">ConfigRef</span></a><span class="Other">;</span> <span class="Identifier">jsonFile</span><span class="Other">:</span> <a href="pathutils.html#AbsoluteFile"><span class="Identifier">AbsoluteFile</span></a><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span>
<span class="Identifier">OSError</span><span class="Other">,</span> <span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">,</span> <span class="Identifier">ERecoverableError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span>
<span class="Identifier">RootEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">,</span> <span class="Identifier">WriteIOEffect</span><span class="Other">,</span> <span class="Identifier">WriteDirEffect</span><span class="Other">,</span> <span class="Identifier">ReadDirEffect</span><span class="Other">,</span>
<span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">ExecIOEffect</span><span class="Other">,</span> <span class="Identifier">TimeEffect</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">forbids</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
<a href="https://github.com/nim-lang/Nim/tree/devel/compiler/extccomp.nim#L1142" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
<a href="https://github.com/nim-lang/Nim/edit/devel/compiler/extccomp.nim#L1142" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;
</dd>
</div>
</div>
<div id="setCC-procs-all">
<div id="setCC,ConfigRef,string,TLineInfo">
<dt><pre><span class="Keyword">proc</span> <a href="#setCC%2CConfigRef%2Cstring%2CTLineInfo"><span class="Identifier">setCC</span></a><span class="Other">(</span><span class="Identifier">conf</span><span class="Other">:</span> <a href="options.html#ConfigRef"><span class="Identifier">ConfigRef</span></a><span class="Other">;</span> <span class="Identifier">ccname</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">;</span> <span class="Identifier">info</span><span class="Other">:</span> <a href="lineinfos.html#TLineInfo"><span class="Identifier">TLineInfo</span></a><span class="Other">)</span> {.
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">,</span> <span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">ERecoverableError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span>
<span class="Identifier">RootEffect</span><span class="Other">,</span> <span class="Identifier">ReadDirEffect</span><span class="Other">,</span> <span class="Identifier">WriteIOEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">,</span> <span class="Identifier">ReadEnvEffect</span><span class="Other">]</span><span class="Other">,</span>
<span class="Identifier">forbids</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
<a href="https://github.com/nim-lang/Nim/tree/devel/compiler/extccomp.nim#L364" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
<a href="https://github.com/nim-lang/Nim/edit/devel/compiler/extccomp.nim#L364" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;
</dd>
</div>
</div>
<div id="toObjFile-procs-all">
<div id="toObjFile,ConfigRef,AbsoluteFile">
<dt><pre><span class="Keyword">proc</span> <a href="#toObjFile%2CConfigRef%2CAbsoluteFile"><span class="Identifier">toObjFile</span></a><span class="Other">(</span><span class="Identifier">conf</span><span class="Other">:</span> <a href="options.html#ConfigRef"><span class="Identifier">ConfigRef</span></a><span class="Other">;</span> <span class="Identifier">filename</span><span class="Other">:</span> <a href="pathutils.html#AbsoluteFile"><span class="Identifier">AbsoluteFile</span></a><span class="Other">)</span><span class="Other">:</span> <a href="pathutils.html#AbsoluteFile"><span class="Identifier">AbsoluteFile</span></a> {.
<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">forbids</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
<a href="https://github.com/nim-lang/Nim/tree/devel/compiler/extccomp.nim#L405" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
<a href="https://github.com/nim-lang/Nim/edit/devel/compiler/extccomp.nim#L405" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;
</dd>
</div>
</div>
<div id="writeJsonBuildInstructions-procs-all">
<div id="writeJsonBuildInstructions,ConfigRef,StringTableRef">
<dt><pre><span class="Keyword">proc</span> <a href="#writeJsonBuildInstructions%2CConfigRef%2CStringTableRef"><span class="Identifier">writeJsonBuildInstructions</span></a><span class="Other">(</span><span class="Identifier">conf</span><span class="Other">:</span> <a href="options.html#ConfigRef"><span class="Identifier">ConfigRef</span></a><span class="Other">;</span> <span class="Identifier">deps</span><span class="Other">:</span> <span class="Identifier">StringTableRef</span><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span>
<span class="Identifier">OSError</span><span class="Other">,</span> <span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">ValueError</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">,</span> <span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">ERecoverableError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span>
<span class="Identifier">ReadDirEffect</span><span class="Other">,</span> <span class="Identifier">ReadEnvEffect</span><span class="Other">,</span> <span class="Identifier">RootEffect</span><span class="Other">,</span> <span class="Identifier">WriteIOEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">,</span>
<span class="Identifier">WriteDirEffect</span><span class="Other">,</span> <span class="Identifier">TimeEffect</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">forbids</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
<a href="https://github.com/nim-lang/Nim/tree/devel/compiler/extccomp.nim#L1087" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
<a href="https://github.com/nim-lang/Nim/edit/devel/compiler/extccomp.nim#L1087" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;
</dd>
</div>
</div>
<div id="writeMapping-procs-all">
<div id="writeMapping,ConfigRef,Rope">
<dt><pre><span class="Keyword">proc</span> <a href="#writeMapping%2CConfigRef%2CRope"><span class="Identifier">writeMapping</span></a><span class="Other">(</span><span class="Identifier">conf</span><span class="Other">:</span> <a href="options.html#ConfigRef"><span class="Identifier">ConfigRef</span></a><span class="Other">;</span> <span class="Identifier">symbolMapping</span><span class="Other">:</span> <a href="ropes.html#Rope"><span class="Identifier">Rope</span></a><span class="Other">)</span> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">ValueError</span><span class="Other">,</span>
<span class="Identifier">OSError</span><span class="Other">,</span> <span class="Identifier">IOError</span><span class="Other">,</span> <span class="Identifier">Exception</span><span class="Other">,</span> <span class="Identifier">KeyError</span><span class="Other">,</span> <span class="Identifier">ERecoverableError</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span>
<span class="Identifier">WriteIOEffect</span><span class="Other">,</span> <span class="Identifier">RootEffect</span><span class="Other">,</span> <span class="Identifier">ReadDirEffect</span><span class="Other">,</span> <span class="Identifier">ReadIOEffect</span><span class="Other">,</span> <span class="Identifier">ReadEnvEffect</span><span class="Other">]</span><span class="Other">,</span>
<span class="Identifier">forbids</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
<dd>
<a href="https://github.com/nim-lang/Nim/tree/devel/compiler/extccomp.nim#L1171" class="link-seesrc" target="_blank">Source</a>&nbsp;&nbsp;
<a href="https://github.com/nim-lang/Nim/edit/devel/compiler/extccomp.nim#L1171" class="link-seesrc" target="_blank" >Edit</a>&nbsp;&nbsp;
</dd>
</div>
</div>
</dl>
</div>
</div>
</div>
<div class="twelve-columns footer">
<span class="nim-sprite"></span>
<br>
<small style="color: var(--hint);">Made with Nim. Generated: 2025-12-28 23:30:51 UTC</small>
</div>
</div>
</div>
<script defer data-domain="nim-lang.org" src="https://plausible.io/js/plausible.js"></script>
</body>
</html>