I found out the cause of the error...I didn't realize gtk-demo was a shell 
script.  Doh!

Thanks, C.

-----Original Message-----
From: Martin, Charles
Sent: Wed 4/7/2010 2:06 PM
To: [email protected]
Subject: Running gprof on gtk demo...
 

Hi all -

  Has anyone ever tried to run the GNU profiler on the gtk-demo program?  I did 
the following:

./configure CFLAGS="-pg" --enable-debug=yes
make
./demos/gtk-demo & 
(ran it for a short while; it left a ./gmon.out file)
gprof gtk-demo 

gprof gives me this error:  

gprof: gtk-demo: not in executable format

Thanks for listening.

Charles.
_______________________________________________
gtk-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to