summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2013-06-30 21:15:28 +0200
committerAraq <rumpf_a@web.de>2013-06-30 21:15:28 +0200
commit52851b722d072f1306d699cc245af033cf76519a (patch)
tree57e0c5e84b6af19ca1c7853be566f3831eedb756 /doc
parent651103ff320ef6f2a132be0a102749cefce725c9 (diff)
downloadNim-52851b722d072f1306d699cc245af033cf76519a.tar.gz
--os:standalone works again
Diffstat (limited to 'doc')
-rw-r--r--doc/nimrodc.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/nimrodc.txt b/doc/nimrodc.txt
index fd420168e..4ae5eae69 100644
--- a/doc/nimrodc.txt
+++ b/doc/nimrodc.txt
@@ -493,9 +493,14 @@ OS features.
 To make the compiler output code for a 16bit target use the ``--cpu:avr`` 
 target.
 
-So to generate code for an `AVR`:idx: processor use this command::
+For example, to generate code for an `AVR`:idx: processor use this command::
   
-  nimrod c --cpu:avr --os:standalone --gc:none -d:useMalloc --genScript x.nim
+  nimrod c --cpu:avr --os:standalone --deadCodeElim:on --genScript x.nim
+
+For the ``standalone`` target you need to provide 
+a file ``panicoverride.nim``. 
+See ``tests/manyloc/standalone/panicoverride.nim`` for an example 
+implementation.
 

 
 Nimrod for realtime systems