This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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] |
$ make -j8 all CFLAGS="-g -profile -O2"
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.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |