<br><br><div class="gmail_quote">On Fri Oct 31 2014 at 2:41:17 AM Peter Zotov <<a href="mailto:whitequark@whitequark.org">whitequark@whitequark.org</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 2014-10-28 09:39, Eric Christopher wrote:<br>
>> -# -g was introduced in 3.10.0.<br>
>> -#ifneq ($(ENABLE_OPTIMIZED),1)<br>
>> -#  OCAMLDEBUGFLAG := -g<br>
>> -#endif<br>
>> +ifneq ($(ENABLE_OPTIMIZED),1)<br>
>> +  OCAMLDEBUGFLAG := -g<br>
>> +endif<br>
>><br>
><br>
> Can't have debug + optimized builds?<br>
<br>
Apparently, not (from <a href="http://Makefile.config.in" target="_blank">Makefile.config.in</a>):<br>
<br>
# When ENABLE_OPTIMIZED is enabled, LLVM code is optimized and output is<br>
put<br>
# into the "Release" directories. Otherwise, LLVM code is not optimized<br>
and<br>
# output is put in the "Debug" directories.<br>
#ENABLE_OPTIMIZED = 1<br>
@ENABLE_OPTIMIZED@<br><br></blockquote><div><br></div><div>configure --enable-optimized --enable-debug-symbols --disable-asserts will get you Release+Debug.</div><div><br></div><div>-eric</div></div>