[mapserver-dev] --enable-debug and optimization flags

Stephen Woodbridge woodbri at swoodbridge.com
Mon Jun 29 21:24:58 EDT 2009


Duh!, its alread been done, I should read me email in new to oldest 
after a vacation.

Stephen Woodbridge wrote:
> +1 on changing this. I get tired of having to edit the Makefile to fix 
> this, when I need to run it in the debugger.
> 
> -Steve W
> 
> Thomas Bonfort wrote:
>> hi devs,
>>
>> anyone have an objection if I modify the configure script to change
>> -O[123] to -O0 in CFLAGS/CXXFLAGS if --enable-debug was passed to
>> ./configure.
>>
>> the current behavior is to leave it untouched, resulting (on my system
>> at least) in -O2 to be used by default, which is rather incompatible
>> with tracing code in a debugger.
>>
>> regards,
>>
>> thomas
>>
>> www.camptocamp.com
>> +33 4 79 26 57 97
>> _______________________________________________
>> mapserver-dev mailing list
>> mapserver-dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-dev
> 
> _______________________________________________
> mapserver-dev mailing list
> mapserver-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-dev



More information about the mapserver-dev mailing list