jcomeau_ictx
unread,Oct 15, 2009, 9:13:09 PM10/15/09You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hi, I'm trying to optimize my code using gprof, but it's not showing
me the time taken by libc routines like scanf, printf, and getchar.
Running ldd on the binary shows just the normal libraries, not the
debug libs, is that correct? I've installed libc6-dbg, no help.
Shouldn't
the -pg switch tell gcc to link statically to the dbg libraries? This
is a Debian system, gcc 4.3.3. Thanks in advance -- jc