summary refs log tree commit diff stats
path: root/doc/nimrodc.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/nimrodc.txt')
-rwxr-xr-xdoc/nimrodc.txt25
1 files changed, 15 insertions, 10 deletions
diff --git a/doc/nimrodc.txt b/doc/nimrodc.txt
index 1ada1fffb..997146ede 100755
--- a/doc/nimrodc.txt
+++ b/doc/nimrodc.txt
@@ -70,17 +70,22 @@ 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

 C file lists the OS, CPU and CC the file has been compiled for.

 
-..
-  DLL generation
-  ==============
 
-  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
-  ``nimrtl.dll``. This means that every generated Nimrod DLL depends
-  on ``nimrtl.dll``. To generate the "nimrtl.dll" file, use the command::
-    
-    nimrod c -d:release lib/nimrtl.nim
-

+DLL generation
+==============
+
+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
+``nimrtl.dll``. This means that every generated Nimrod DLL depends
+on ``nimrtl.dll``. To generate the "nimrtl.dll" file, use the command::
+  
+  nimrod c -d:release lib/nimrtl.nim
+
+To link to ``nimrtl.dll`` use the command::
+
+  nimrod c -d:useNimRtl myprog.nim
+
+
 

 Additional Features

 ===================