[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
using gprof (gnu profiling tool ) options: -pg with g++
From: |
Ramanathan, Nithya |
Subject: |
using gprof (gnu profiling tool ) options: -pg with g++ |
Date: |
Wed, 6 Feb 2002 16:34:02 -0800 |
hi,
i am trying to use gprof, and i haven't been able to get the gmon.out file
to be produced.
my command looks like (where the -pg is the option needed to produce the
gmon.out output needed for gprof):
g++ -c -Wall -fPIC -g -pg -I../include ..... -o test.o test.cpp
and then the link looks like:
g++ -fPIC -shared -pg -L..... -l... Xlinker -rpath .... -L.... -lpthread -o
test.o
can you tell me if im missing something?
thanks!
nithya
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- using gprof (gnu profiling tool ) options: -pg with g++,
Ramanathan, Nithya <=