[SDL] Building SDL in debug mode on Linux

Matko Klaić matko.klaic at gmail.com
Sun Mar 17 16:20:22 PDT 2013


Thanks John,

installing libsdl1.2-dbg package resolved my issue. I can run gdb through
library code now.

Best!

Matko

On Sun, Mar 17, 2013 at 11:43 PM, John <john at leafygreengames.com> wrote:

> -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<http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org>
>>
>>  ______________________________**_________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/**listinfo.cgi/sdl-libsdl.org<http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20130318/50b1d0fb/attachment-0009.htm>


More information about the SDL mailing list