Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Sep 1999 00:31:20 -0700
From:      Ken Marx <kmarx@bigshed.com>
To:        "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG>
Subject:   gproff/gmon.out on 3.x?
Message-ID:  <37DDF9C8.F9AE98DB@bigshed.com>

next in thread | raw e-mail | index | archive | help
Hi,

I'm sure I'm doing something stupid, but I just can't seem
to get a gmon.out file when compiling with -pg:

This is on a 3.2-Release box:
--------------------------
[weevil] /tmp <256> cat jnk.c
main()
{
    printf("poot\n");
    exit(0);
}
[weevil] /tmp <257> cc -pg -g jnk.c
[weevil] /tmp <258> ./a.out
poot
[weevil] /tmp <259> ls *out
a.out*
[weevil] /tmp <260> ls /usr/lib/libc_p*
/usr/lib/libc_p.a       /usr/lib/libc_pic.a
[weevil] /tmp <261> nm a.out | grep mon
08052890 D _gmonparam
08048734 T moncontrol
0804841c T monstartup
---------------------------------

Same problem on a 3.3-RC box.

But the same code/compile-line *works* on my 2.2.8-Release box.

Any ideas? 

Thanks!
k.
-- 
Ken Marx, kmarx@bigshed.com
It is undeniable that we should table this and architect the customer's 
customer.
		- http://cgi.bigshed.com/~kmarx/cgi-bin/speak.cgi


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37DDF9C8.F9AE98DB>