This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
i am getting same profile(for gcc) for all testcases
- From: <perugupa at csee dot wvu dot edu>
- To: <gcc at gcc dot gnu dot org>
- Date: Wed, 3 Mar 2004 22:03:03 -0500 (EST)
- Subject: i am getting same profile(for gcc) for all testcases
Hi,
i have compiled gcc3.2.3 with profiling enabled. i am using the
regression test suite to generate profiles for gcc (not for the test
case it self ie. i want to see whats heppening in gcc).i compiled gcc
like...
../gcc/configure --prefix=/src/inst --enable-languages=c,c++ \
--disable-checking
$ make -j8 all CFLAGS="-g -profile -O2"
$ make install
this is what i am using to generate profile file.
gcc test.c
gprof -a /root/install/bin/gcc gmon.out > output
I also tried this one
gprof -a /root/install/lib/gcc/TARGET/VERSION/cc1 gmon.out > output
but i am getting the same profiles for any program i compile.i have been
struggling to get this done for a long time.can somebody please help
me.thanx in advance.
regards
nath.