From f8272eba944a4dae7726251f88fd5f1af2d2d5dd Mon Sep 17 00:00:00 2001 From: Clay Sweetser Date: Fri, 18 Oct 2013 16:28:52 -0400 Subject: [PATCH] Added instructions on using koch to compile nimrod with GDB support. --- doc/intern.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/intern.txt b/doc/intern.txt index c847972512..7b0592921f 100644 --- a/doc/intern.txt +++ b/doc/intern.txt @@ -52,6 +52,11 @@ For a release version use:: nimrod c koch.nim ./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 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. * Provide spaces around binary operators if that enhances readability. * 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``.