diff options
author | Araq <rumpf_a@web.de> | 2013-06-30 21:15:28 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2013-06-30 21:15:28 +0200 |
commit | 52851b722d072f1306d699cc245af033cf76519a (patch) | |
tree | 57e0c5e84b6af19ca1c7853be566f3831eedb756 /doc | |
parent | 651103ff320ef6f2a132be0a102749cefce725c9 (diff) | |
download | Nim-52851b722d072f1306d699cc245af033cf76519a.tar.gz |
--os:standalone works again
Diffstat (limited to 'doc')
-rw-r--r-- | doc/nimrodc.txt | 9 |
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 |