Re: Debugging of GTK
- From: shakti <shprasad novell com>
- To: Petr Hracek <phracek terra cz>
- Cc: "gtk-app-devel-list gnome org" <gtk-app-devel-list gnome org>
- Subject: Re: Debugging of GTK
- Date: Fri, 17 Dec 2004 09:39:32 +0530
Hi Petr,
You can add the '-g' option in your Makefile.
Thanks,
Shakti
Petr Hracek wrote:
Hi,
I did some program but I want to debug some procedures where I have
problem.
In the Makefile I have following but I don't know if all commands are
right.
============================================
CC=gcc
CFLAGS=`pkg-config --cflags gtk+-2.0`
LIBS=`pkg-config --libs gtk+-2.0`
program: program.o
$(CC) -o program $(LIBS) program.o
program.o: program.c
$(CC) $(CFLAGS) -c -d DEBUG program.c
=============================================
After this I run ddd and select program, ddd show me message that no
sources are available.
Can you help me where I can have problem?
Best regards
Petr
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]