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