From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 2745 invoked from network); 20 May 1998 15:13:56 -0000 Received: from mescaline.gnu.org (we-refuse-to-spy-on-our-users@158.121.106.21) by mail2.redhat.com with SMTP; 20 May 1998 15:13:56 -0000 Received: from melange.gnu.org by mescaline.gnu.org (8.8.5/8.6.12GNU) with ESMTP id LAA24705 for ; Wed, 20 May 1998 11:13:54 -0400 Received: (burley@localhost) by melange.gnu.org (8.8.5/8.6.12GNU) id LAA18527; Wed, 20 May 1998 11:13:54 -0400 (EDT) Date: Wed, 20 May 1998 11:13:54 -0400 (EDT) Message-Id: <199805201513.LAA18527@melange.gnu.org> From: Craig Burley To: axp-list@redhat.com In-reply-to: <35629AC1.3808DEE5@paralleldata.com> (wsb@paralleldata.com) Subject: Re: gprof on mixed gcc/g77 code >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?? 1) What does "appear to profile fine" have to do with "seems to convert it to `-p'"? 2) Why isn't converting it to `-p' what you want to have happen? 3) Are you sure gcc isn't doing the same thing -- converting `-pg' to `-p'? (It does on my box.) -- "Practice random senselessness and act kind of beautiful." James Craig Burley, Software Craftsperson burley@gnu.org