From: Jean Privat Date: Thu, 4 Jun 2015 10:34:57 +0000 (-0400) Subject: Merge: Portable stack-traces X-Git-Tag: v0.7.6~66 X-Git-Url: http://nitlanguage.org Merge: Portable stack-traces Most detection of the availability of libunwind and the flags to use is moved at the C compilation time (in the Makefile) instead at the Nit compilation time. Moreover, if libunwind is not available, then stacktraces are just disabled (instead of aborting). Another advantage is that the generated C is more portable and can be compiled in a different system. Thus, this will help cross-compilation and should even enable the bootstrap on libunwind-less system like raspberrypi once c_src is regenerated (cf #1149). The option `--stacktrace` is also replaced with a simpler `--no-stacktrace` for people that want to disable it completely at C-compile time. Close #1357 and an item in #864. Pull-Request: #1419 Reviewed-by: Lucas Bajolet Reviewed-by: Alexandre Terrasa Reviewed-by: Alexis Laferrière --- 84fe63cd159b49b781822e09e9b9ad3e276ea409