This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Gprof does not generate a gmon.out-file at all :-(
- From: Clemens Eisserer <linuxhippy at gmail dot com>
- To: binutils at sources dot redhat dot com
- Date: Thu, 15 Sep 2005 10:19:12 +0200
- Subject: Gprof does not generate a gmon.out-file at all :-(
- Reply-to: linuxhippy at gmail dot com
Hello,
I just started to play a bit with gprof since I want to tune a library
a bit, and this works great for a small hello-world testsample I
created.
However with the library I want to profile it does not work, the
library uses the following structure:
Test-Program (compiled with -pg) <-----> Library (-pg) <-----> System libraries
I rund withought problems but simply does not generate any
gmon.out-files. I am using an out-of-the-box FC4 with GCC-4.0.0.
The library was compiled with the following switches:
gcc -c -I/home/ce/netpbm-10.29/converter/other/../../converter/other
-I. -I/home/ce/netpbm-10.29/converter/other/../../util
-I/home/ce/netpbm-10.29/converter/other/../../urt -DNDEBUG \
-pg -ffast-math -pedantic -fno-common -Wall -Wno-uninitialized
-Wmissing-declarations -Wimplicit -Wwrite-strings -Wmissing-prototypes
-o xwdtopnm.o xwdtopnm.c
It would be great if anybody could give me a tip where to start to
search or maybe its just my fault, who knows :-(
Thank you in advance, lg Clemens