Added instructions on using koch to compile nimrod with GDB support.
This commit is contained in:
parent
d94a870de4
commit
f8272eba94
1 changed files with 6 additions and 1 deletions
|
|
@ -52,6 +52,11 @@ For a release version use::
|
||||||
nimrod c koch.nim
|
nimrod c koch.nim
|
||||||
./koch boot -d:release
|
./koch boot -d:release
|
||||||
|
|
||||||
|
And for a debug version compatible with GDB::
|
||||||
|
|
||||||
|
nimrod c koch.nim
|
||||||
|
./koch boot --debuginfo --linedir:on
|
||||||
|
|
||||||
The ``koch`` program is Nimrod's maintenance script. It is a replacement for
|
The ``koch`` program is Nimrod's maintenance script. It is a replacement for
|
||||||
make and shell scripting with the advantage that it is much more portable.
|
make and shell scripting with the advantage that it is much more portable.
|
||||||
|
|
||||||
|
|
@ -64,7 +69,7 @@ Coding Guidelines
|
||||||
* Max line length is 80 characters.
|
* Max line length is 80 characters.
|
||||||
* Provide spaces around binary operators if that enhances readability.
|
* Provide spaces around binary operators if that enhances readability.
|
||||||
* Use a space after a colon, but not before it.
|
* Use a space after a colon, but not before it.
|
||||||
* Start types with a capital ``T``, unless they are pointers which start
|
* Start types with a capital ``T``, unless they are pointers\references which start
|
||||||
with ``P``.
|
with ``P``.
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue