Article View: gnu.gcc.help
Article #898gcc and prof,gprof
From: Mahesh Govind Joshi
Date: Wed, 27 Jan 1993 03:47
Date: Wed, 27 Jan 1993 03:47
32 lines
1225 bytes
1225 bytes
Hi, I am having a problem trying to use prof or gprof with gcc ! My environment is aas follows: M/C : Sun Sparc O/S : 4.1.3 (no patches as of yet ) Gnu version : 2.2.2 prof requires a mon.out file which is suppoesed to be created by using the -p flag. Apparently, the gccc compiler does not generate this file and as a result i cant use "prof". How do I get around this problem ? /* I tried the same thing with "cc" and it works fine */ /* but for a certain set of executables I cannot use "cc" */ Looks like gcc puts the information required by "prof" into the excutable itself and not into a the file mon.out... Thanks in advance !! Replies by e-mail would be appreciated.. Mahesh Joshi
Technical Details
Message-ID:
<1993Jan27.034710.10094@umr.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!ulowell!news.bbn.com!usc!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!usenet-feed.umr.edu!cnewsShow Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!sparky!uunet!ulowell!news.bbn.com!usc!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!usenet-feed.umr.edu!cnews From: mgj@ee.umr.edu (Mahesh Govind Joshi) Subject: gcc and prof,gprof Date: Wed, 27 Jan 1993 03:47:10 GMT Nntp-Posting-Host: franklin.ee.umr.edu Reply-To: mgj@ee.umr.edu (Mahesh Govind Joshi) Organization: University of Missouri - Rolla Sender: cnews@umr.edu (UMR Usenet News Post) Message-ID: <1993Jan27.034710.10094@umr.edu> Lines: 33