This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
RE: Gprof does not generate a gmon.out-file at all :-(
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: <linuxhippy at gmail dot com>,<binutils at sources dot redhat dot com>
- Date: Thu, 15 Sep 2005 11:54:25 +0100
- Subject: RE: Gprof does not generate a gmon.out-file at all :-(
----Original Message----
>From: Clemens Eisserer
>Sent: 15 September 2005 09:19
> 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
This is a compile-only command. Did you remember to also use -pg at the
final link stage?
> It would be great if anybody could give me a tip where to start to
> search or maybe its just my fault, who knows :-(
You might find out a lot by using strace and seeing if it's attempting to
open a file and failing.
cheers,
DaveK
--
Can't think of a witty .sigline today....