(05-13-2013, 08:50 PM)[Unknown] Wrote: I don't know much about Android, but you probably want to change android/jni/Android.mk:
From:
LOCAL_CFLAGS := -O2 -fsigned-char -ffast-math -Wall -Wno-multichar -Wno-psabi
To:
LOCAL_CFLAGS := -Og -g -fsigned-char -ffast-math -Wall -Wno-multichar -Wno-psabi
Or if -Og doesn't work, -O0 or w/e.
And then same here:
LOCAL_CFLAGS := -DUSE_PROFILER -DGL_GLEXT_PROTOTYPES -DUSING_GLES2 -O2 -fsigned-char -Wall -Wno-multichar -Wno-psabi -Wno-unused-variable -fno-strict-aliasing -ffast-math
etc. At that point it should be doable to debug I think, and I've seen people post stack traces, but I don't know how it's done unfortunately.
-[Unknown]
Thanks, I'll give it a shot, however the ndk-build help from android says something quit different
http://pastebin.com/jBvSMyzU
But I don't know where to put that options.

