From: "Wes Bauske" <wsb@paralleldata.com>
To: "axp-list@redhat.com" <axp-list@redhat.com>
Subject: gprof on mixed gcc/g77 code
Date: Wed, 20 May 1998 03:56:33 -0500 [thread overview]
Message-ID: <35629AC1.3808DEE5@paralleldata.com> (raw)
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
next reply other threads:[~1998-05-20 8:49 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-05-20 8:56 Wes Bauske [this message]
1998-05-20 15:13 ` gprof on mixed gcc/g77 code 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
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox