Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* gprof on mixed gcc/g77 code
@ 1998-05-20  8:56 Wes Bauske
  1998-05-20 15:13 ` Craig Burley
  0 siblings, 1 reply; 12+ messages in thread
From: Wes Bauske @ 1998-05-20  8:56 UTC (permalink / raw)
  To: axp-list@redhat.com

I've got binaries where I mix C/FORTRAN and am trying
to gprof them on a RH5.0 system. Strictly C programs
appear to profile fine after adding the '-pg' flag to the
compile/link. However, when I add this flag to g77,
it seems to convert it to '-p'.  Not what I want to
have happen. Is this what it does?? If so, why??

My command from the make printout:

g77 -c -pg -O2 -fschedule-insns -fschedule-insns2 -v t31int.f
Reading specs from /z/home/alpha/lib/gcc-lib/alphaev56-unknown-linux-gnu/egcs-2.90.27/specs
gcc version egcs-2.90.27 980315 (egcs-1.0.2 release)
 /z/home/alpha/lib/gcc-lib/alphaev56-unknown-linux-gnu/egcs-2.90.27/f771 t31int.f -fset-g77-defaults
-quiet -dumpbase t31int.f -O2 -version -fversion -p -fschedule-insns -fschedule-insns2 -o
/tmp/cca08161.s
GNU F77 version egcs-2.90.27 980315 (egcs-1.0.2 release) (alphaev56-unknown-linux-gnu) compiled by
GNU C version 2.7.2.3.
GNU Fortran Front End version 0.5.22-19970929
 as -nocpp -o t31int.o /tmp/cca08161.s

Is there a way to stop this from happening??

Thanks.

Wes



^ permalink raw reply	[flat|nested] 12+ messages in thread
[parent not found: <199805201453.IAA23638@ellpspace.math.ualberta.ca>]

end of thread, other threads:[~1998-05-21 15:26 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-05-20  8:56 gprof on mixed gcc/g77 code Wes Bauske
1998-05-20 15:13 ` Craig Burley
1998-05-20 18:44   ` Wes Bauske
1998-05-20 19:03     ` Craig Burley
1998-05-20 21:40       ` Wes Bauske
1998-05-21  1:38         ` Craig Burley
1998-05-21  2:56           ` Wes Bauske
1998-05-21  3:55             ` Craig Burley
1998-05-21  4:32               ` Wes Bauske
1998-05-21  5:37               ` Maurice Hilarius
1998-05-21 15:26                 ` Craig Burley
     [not found] <199805201453.IAA23638@ellpspace.math.ualberta.ca>
1998-05-20 21:45 ` Wes Bauske

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox