Thread View: gnu.gcc.help
1 messages
1 total messages
Started by Mahesh Govind Joshi
Wed, 27 Jan 1993 03:47
gcc and prof,gprof
Author: 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads