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


commit 823a24f094b503ea39e1d140ff74eb7fff4b1a3c
Author: Raster <ras...@rasterman.com>
Date:   Thu Jun 18 19:46:15 2015 -0700

    Wiki page docs-efl-buildenv changed with summary [] by Raster
 pages/docs-efl-buildenv.txt | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/pages/docs-efl-buildenv.txt b/pages/docs-efl-buildenv.txt
index 22afda5..d5a9156 100644
--- a/pages/docs-efl-buildenv.txt
+++ b/pages/docs-efl-buildenv.txt
@@ -6,6 +6,26 @@ export 
 export LD_LIBRARY_PATH=/usr/local/lib:"$LD_LIBRARY_PATH"
+Below choose one of the following ''CFLAGS'' to use. To ensure your code is 
compiled with decent optimzations you should also set this up in your 
+<code bash>
+export CFLAGS="-O3 -ffast-math -march=native"
+Note that if you wish to compile for older architectures than your current 
system, please look up the compiler documentation and replace ''-march=native'' 
with something appropriate.
+If you wish decently optimized code that is still debuggable (but that 
optimizations may still make a little hard to debug) you can do:
+<code bash>
+export CFLAGS="-O2 -ffast-math -march=native -g"
+If you want a really debuggable piece of code where optimizations mess with 
little to nothing at all use:
+<code bash>
+export CFLAGS="-O -g -ffast-math -march=native"
 ==== Runtime Library Linking ====
 Note the ''LD_LIBRARY_PATH'' environment variable is set. You can ensure the 
system always supports ''/usr/local/lib'' by editing ''/etc/ld.so.conf'' or 
adding a file to ''/etc/ld.so.conf.d'' and simply have a line in either file 
that says:


Reply via email to