Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Illegal instruction when executing gprof

Status
Not open for further replies.

Helmsley

Programmer
Dec 17, 2001
18
0
0
SG
Hi, i am currently using AIX 5.2 and wanted to profile a C++ program using gprof tool. I compiled and link the program with the appropriate flags, but when i execute the tprof command on the gmon file, it returns a "illegal instruction" error and no prof file is produced. Any idea what can be the problem? By the way, i am using VisualAge C++ compiler 6.0 to compile the program. Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top