table of contents
other versions
- stretch 0.16.0-1
- testing 0.19.4-1
- stretch-backports 0.17.0-2~bpo9+1
- unstable 0.20.0-2
NIM(1) | User Commands | NIM(1) |
NAME¶
nim - Nim Language CompilerDESCRIPTION¶
Nim Compiler Version 0.16.0 (2017-01-09) [Linux: amd64] Copyright © 2006-2017 by Andreas Rumpf ::- nim command [options] [projectfile] [arguments]
Command:¶
- compile, c
- compile project with default code generator (C)
- doc
- generate the documentation for inputfile
- doc2
- generate the documentation for inputfile
Arguments:¶
- arguments are passed to the program being run (if --run option is selected)
OPTIONS¶
- -p, --path:PATH
- add path to search paths
- -d, --define:SYMBOL(:VAL)
- define a conditional symbol (Optionally: Define the value for that symbol)
- -u, --undef:SYMBOL
- undefine a conditional symbol
- -f, --forceBuild
- force rebuilding of all modules
- --stackTrace:on|off
- turn stack tracing on|off
- --lineTrace:on|off
- turn line tracing on|off
- --threads:on|off
- turn support for multi-threading on|off
- -x, --checks:on|off
- turn all runtime checks on|off
- --objChecks:on|off
- turn obj conversion checks on|off
- --fieldChecks:on|off
- turn case variant field checks on|off
- --rangeChecks:on|off
- turn range checks on|off
- --boundChecks:on|off
- turn bound checks on|off
- --overflowChecks:on|off
- turn int over-/underflow checks on|off
- -a, --assertions:on|off
- turn assertions on|off
- --floatChecks:on|off
- turn all floating point (NaN/Inf) checks on|off
- --nanChecks:on|off
- turn NaN checks on|off
- --infChecks:on|off
- turn Inf checks on|off
- --deadCodeElim:on|off
- whole program dead code elimination on|off
- --opt:none|speed|size
- optimize not at all or for speed|size Note: use -d:release for a release build!
- --debugger:native|endb
- use native debugger (gdb) | ENDB (experimental)
- --app:console|gui|lib|staticlib
- generate a console app|GUI app|DLL|static library
- -r, --run
- run the compiled program with given arguments
- --advanced
- show advanced command line switches
- -h, --help
- show this help
Note, single letter options that take an argument require a colon. E.g. -p:PATH.
REPORTING BUGS¶
https://github.com/nim-lang/Nim/issuesSEE ALSO¶
The nim-doc package.January 2017 | nim 0.16.0-1 |