projects
/
mate.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
globalmaphack: be more general (fmap, factoring, ...)
[mate.git]
/
HACKING
diff --git
a/HACKING
b/HACKING
index 5772b87b5e83d70ac185874578414032ad3dcb6b..c70e19460291d17828bed41b7f06b43fe007c0f7 100644
(file)
--- a/
HACKING
+++ b/
HACKING
@@
-1,5
+1,19
@@
-for a debug build, use
+for testing with a release build, use
+$ make tests/Fib
+
+
+for testing a release build against OpenJDK output, use
+$ make tests/Fib.test
+
+
+for testing with a debug build, use
$ DBGFLAGS='-DDBG_JIT -DDBG_BB' make tests/Fib.dbg
`make clean' is needed if you change $DBGFLAGS.
for all available flags, see `debug.h'.
$ DBGFLAGS='-DDBG_JIT -DDBG_BB' make tests/Fib.dbg
`make clean' is needed if you change $DBGFLAGS.
for all available flags, see `debug.h'.
+
+
+for debugging with gdb, modify Mate/MethodPool.hs and make a debug build with at
+least -DDBG_JIT enabled, then use
+$ make tests/Fib.gdb
+and follow the instructions in the source file.