Excellent thanks John
I actually used

./configure  CFLAGS="-O0 -g" CXXFLAGS="-O0 -g"

to avoid optimisation jumps..

On 10 Mar 2009, at 17:03, John Snelson wrote:
Hi Ben,

Ben Griffin wrote:
How do I compile xercesc 3.01 for debugging on unix (linux, mac osx, etc)
Especially so that I can trace gdb with the source code showing?

Run configure like this:

./configure CFLAGS=-g CPPFLAGS=-g

John

Reply via email to