[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] OT: Debugging Windom Apps



On 1/28/10 2:30 AM, Vincent Rivière wrote:
Mark Duckworth wrote:
Just worth nothing that you cannot debug a windom application unless you
rebuild libwindom with -g -fomit-frame-pointer -O0.

I don't know if there is something special in Windom, but normally "-g" is enough to make debug builds. The flag -fomit-frame-pointer should be used for releases, but the frame pointer is useful for gdb, so this option should not be used in debug builds.
Then -O0 is the default optimization level, it should not be required.

I'm sorry, I meant NOT using -fomit-frame-pointer ;)

Thanks,
Mark