WWW-www.enlightenment.org pushed a commit to branch master.

http://git.enlightenment.org/website/www-content.git/commit/?id=9b7e2ef26a74154c820d8fcab62267a5191d9ca1

commit 9b7e2ef26a74154c820d8fcab62267a5191d9ca1
Author: Gareth Halfacree <[email protected]>
Date:   Wed Nov 29 08:00:57 2017 -0800

    Wiki page debug-symbols.md changed with summary [created] by Gareth 
Halfacree
---
 pages/develop/debug/debug-symbols.md.txt | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/pages/develop/debug/debug-symbols.md.txt 
b/pages/develop/debug/debug-symbols.md.txt
new file mode 100644
index 000000000..7d345a064
--- /dev/null
+++ b/pages/develop/debug/debug-symbols.md.txt
@@ -0,0 +1,24 @@
+---
+~~Title: Recompiling with Debug Symbols~~
+---
+
+# Recompiling with Debug Symbols #
+
+A standard installation of Enlightenment or EFL is compiled without *debug 
symbols*, meaning that debugging tools are unable to extract much information. 
In order that a backtrace, ``valgrind`` or any any other collection method 
provides good-quality information the program must be recompiled with debugging 
symbols activated.
+
+Debugging symbols can be added using the ``-g`` flag during compilation. If 
you have already configured your own custom compiler flags you will need to add 
``-g`` to them. If you do not use any custom compiler flags you can set 
sensible defaults for debugging with the following command: 
+
+```bash
+export CFLAGS="-O -march=native -g"
+```
+
+Recompile each of the individual libraries, and Enlightenment itself if 
required, with:
+
+```bash
+make clean distclean
+./autogen.sh
+make
+make install
+```
+
+If your build environment has a different workflow, alter the above steps 
accordingly while remembering to retain the ``distclean`` option. 
\ No newline at end of file

-- 


Reply via email to