Mentions useFFI and garbage collector options.
This commit is contained in:
parent
e2f771a150
commit
72ff19fa92
1 changed files with 10 additions and 0 deletions
10
doc/koch.txt
10
doc/koch.txt
|
|
@ -65,6 +65,16 @@ options:
|
||||||
directories and check their backup exclusion bit::
|
directories and check their backup exclusion bit::
|
||||||
|
|
||||||
$ find . -type d -name nimcache -exec tmutil isexcluded \{\} \;
|
$ find . -type d -name nimcache -exec tmutil isexcluded \{\} \;
|
||||||
|
-d:useFFI
|
||||||
|
Nimrod code can use the `foreign function interface (FFI)
|
||||||
|
<manual.html#foreign-function-interface>`_ at runtime, but macros
|
||||||
|
are limited to pure Nimrod code at compilation time. Enabling
|
||||||
|
this switch will allow macros to execute non-nimrod code at
|
||||||
|
compilation time (eg. open a file and write to it).
|
||||||
|
--gc:refc|v2|markAndSweep|boehm|none
|
||||||
|
Selects which garbage collection strategy to use for the compiler
|
||||||
|
and generated code. See the `Nimrod's Garbage Collector <gc.html>`_
|
||||||
|
documentation for more information.
|
||||||
|
|
||||||
After compilation is finished you will hopefully end up with the nimrod
|
After compilation is finished you will hopefully end up with the nimrod
|
||||||
compiler in the ``bin`` directory. You can add Nimrod's ``bin`` directory to
|
compiler in the ``bin`` directory. You can add Nimrod's ``bin`` directory to
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue