home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / gnu / gcc / help / 3043 < prev    next >
Encoding:
Text File  |  1993-01-28  |  1.2 KB  |  46 lines

  1. Newsgroups: gnu.gcc.help
  2. Path: sparky!uunet!ulowell!news.bbn.com!usc!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!usenet-feed.umr.edu!cnews
  3. From: mgj@ee.umr.edu (Mahesh Govind Joshi)
  4. Subject: gcc and prof,gprof
  5. Date: Wed, 27 Jan 1993 03:47:10 GMT
  6. Nntp-Posting-Host: franklin.ee.umr.edu
  7. Reply-To: mgj@ee.umr.edu (Mahesh Govind Joshi)
  8. Organization: University of Missouri - Rolla
  9. Sender: cnews@umr.edu (UMR Usenet News Post)
  10. Message-ID: <1993Jan27.034710.10094@umr.edu>
  11. Lines: 33
  12.  
  13.  
  14. Hi,
  15.  
  16. I am having a problem trying to use prof or gprof with gcc !
  17.  
  18. My environment is aas follows:
  19.  
  20. M/C :  Sun Sparc 
  21.  
  22. O/S : 4.1.3
  23. (no patches as of yet )
  24.  
  25. Gnu version : 2.2.2
  26.  
  27. prof requires a mon.out file which is suppoesed to be created by
  28. using the -p flag.
  29.  
  30. Apparently, the gccc compiler does not generate this file and as
  31. a result i cant use "prof".
  32.  
  33. How do I get around this problem ?
  34. /* I tried the same thing with "cc" and it works fine */
  35. /* but for a certain set of executables I cannot use "cc" */
  36.  
  37. Looks like  gcc puts the information required by "prof" into the
  38. excutable itself and not into a the file mon.out...
  39.  
  40. Thanks in advance !!
  41.  
  42. Replies by e-mail would be appreciated..
  43.  
  44. Mahesh Joshi
  45.  
  46.