Re: Debugging



On 3 Sep 2003, Russell Shaw wrote:
Hi,
How can i compile dia-0.91 so that i can see the gtk source in gdb?
I tried:

./configure --enable-static CFLAGS="-O0 -g"
make

Previously, i compiled and installed libgtk2.0-dev, libglib2.0-dev,
libatk1.0-dev, and libpango1.0-dev with the nostrip option.

Have you tried 

./configure --enable-debug=yes
make

or alternatively 

./configure --enable-maintainer-mode

though that may require things that are only in CVS, not in the tarball.
Try --enable-debug=yes first, and let us know if it works.

-Lars

-- 
Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause)| HÃrdgrim of Numenor
"I do not agree with a word that you say, but I   |----------------------------
will defend to the death your right to say it."   | Where are we going, and
    --Evelyn Beatrice Hall paraphrasing Voltaire  | what's with the handbasket?



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