[SDL] Building SDL in debug mode on Linux

John john at leafygreengames.com
Sun Mar 17 15:43:16 PDT 2013


-g is the default, I believe. If not, add it to CFLAGS, as in

CFLAGS='-O0 -g' ./configure



On 03/17/2013 06:08 PM, Matko Klaić wrote:
> Is there any option for sdl ./configure script to build library in debug mode?
>
> I want to use gdb for sdl functions.
>
> Thanks!
>
> Matko Klaic
>
>
>
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>



More information about the SDL mailing list