inlining of the write barrier for dlls
This commit is contained in:
parent
8098e2a421
commit
25ff3913ec
1 changed files with 17 additions and 17 deletions
|
|
@ -69,23 +69,23 @@ generated files.
|
||||||
However, the generated C code is not platform independent. C code generated for
|
However, the generated C code is not platform independent. C code generated for
|
||||||
Linux does not compile on Windows, for instance. The comment on top of the
|
Linux does not compile on Windows, for instance. The comment on top of the
|
||||||
C file lists the OS, CPU and CC the file has been compiled for.
|
C file lists the OS, CPU and CC the file has been compiled for.
|
||||||
|
|
||||||
|
|
||||||
DLL generation
|
DLL generation
|
||||||
==============
|
==============
|
||||||
|
|
||||||
Nimrod supports the generation of DLLs. However, there must be only one
|
Nimrod supports the generation of DLLs. However, there must be only one
|
||||||
instance of the GC per process/address space. This instance is contained in
|
instance of the GC per process/address space. This instance is contained in
|
||||||
``nimrtl.dll``. This means that every generated Nimrod DLL depends
|
``nimrtl.dll``. This means that every generated Nimrod DLL depends
|
||||||
on ``nimrtl.dll``. To generate the "nimrtl.dll" file, use the command::
|
on ``nimrtl.dll``. To generate the "nimrtl.dll" file, use the command::
|
||||||
|
|
||||||
nimrod c -d:release lib/nimrtl.nim
|
nimrod c -d:release lib/nimrtl.nim
|
||||||
|
|
||||||
To link to ``nimrtl.dll`` use the command::
|
To link against ``nimrtl.dll`` use the command::
|
||||||
|
|
||||||
nimrod c -d:useNimRtl myprog.nim
|
nimrod c -d:useNimRtl myprog.nim
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Additional Features
|
Additional Features
|
||||||
===================
|
===================
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue