This is the mail archive of the gcc-bugs@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]

Re: No Profile for egcs-2.91.66


"Shane Walton" <swalton@dsrnet.com> writes:

> Hello, I don't know if this is a bug or a kernel issue, but I can not
> produce
> a gmon.out file to be used with gprof with gcc of egcs-2.91.66 on RedHat 6.2
> Kernel 2.2.14-5.0.  The following syntax does not work:
> 
> myhost % gcc hello_world.c -o hello_world -pg -g
I belive this command is correct. It works for me on
  i686-pc-linux-gnu, using gcc 2.95.2

Did you try to run the hello_world executable? The gmon.out file is
  not produced until the excutable is run.

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