Mail Archives: djgpp/1996/05/30/05:26:06
On 28 May 1996, David J. Calvin wrote:
> gprof game, says gmon.out file not found.
>
> What is this gmon.out and how do I make it? Thanks in advance.
This file is generated by the program compiled with -pg when it runs.
Please check if this happens for any program (e.g. "Hello world") or just
for the specific program you are talking about. If every program
compiled with -pg shows this behavior, please add -v to your
compilation/link command line and post everything that gets printed then.
> compile with -pg (can't link with this like the faq says, is that the
> problem?)
It might be the problem if you link in a way that prevents gcrt0.o to be
linked instead of crt0.o. Why can't you link with -pg? What is the
command line you use to link, and how does it fail?
- Raw text -