This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Gprof does not generate a gmon.out-file at all :-(


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]