debugging C library code with gdb

BlitzMax Forums/BlitzMax Programming/debugging C library code with gdb

StuC(Posted 2005) [#1]
How can one compile a .a file using bmk to include gdb debugging info, so we can debug our library code?

Cheers,

Stu


skidracer(Posted 2005) [#2]
Until the source code to bmk is released you would need to use the verbose option of bmk to output a build file and mangle both the c compiler and linker options to generate a new makefile for a gdb debug version (I would imagine).


StuC(Posted 2005) [#3]
I wondered if I could just link to the *.bmx.debug.a and the debug build of my code to build the library? The .bmx.debug.a would have all the entry points that blitz needs, I think.

Cheers,

Stu