www.delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/1999/09/16/10:18:10

From: jle AT star DOT be
X-Lotus-Fromdomain: STARINFORMATIC
To: pgcc AT delorie DOT com
Message-Id: <C12567EE.002D262C.00@lotusout.star.be>
Date: Thu, 16 Sep 1999 10:18:23 +0200
Subject: profiling option -pg
Mime-Version: 1.0
Reply-To: pgcc AT delorie DOT com




On a Pentium II 350 MHz RedHat Linux 6.0:

With gcc-2.95.1, I can profile a program with:

gcc -O -pg a.c
./a.out
gprof ./a.out | more

With pgcc -2.95.1, I can profile a program with:

gcc -pg a.c
./a.out
gprof ./a.out | more

BUT, if I use the -O option, gprof complains about missing data in the
gmon.out file.

Is it a bug, or an expected behaviour for pgcc-2.95.1 ?


pgcc-ly yours,
Jacques Leroy


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019