delorie.com is funded by banner ads.
  www.delorie.com/djgpp/v2faq/faq107.html   search  

| Previous | Next | Up | Top |

13.3 Gprof won't work unless it can find COFF executable

Q: When I run Gprof, it complains that it cannot find my program. But I've just run it!!

Q: I run Gprof on my program, and it says: "bad format".


A: Gprof from DJGPP v2.0 needs the original COFF file the linker produced. If you delete it, or feed Gprof with the .exe file instead, it will be most unhappy. The way to produce the COFF output is explained in section dealing with GDB, above. Alternatively, upgrade to DJGPP v2.01, where all Binutils programs know about .exe executables.


  webmaster   donations   bookstore     delorie software   privacy  
  Copyright ⌐ 1998   by Eli Zaretskii     Updated Sep 1998  

Powered by Apache!

You can help support this site by visiting the advertisers that sponsor it! (only once each, though)