From owner-freebsd-questions Tue Sep 14 0:25:29 1999 Delivered-To: freebsd-questions@freebsd.org Received: from oberon.dnai.com (oberon.dnai.com [207.181.194.97]) by hub.freebsd.org (Postfix) with ESMTP id D3D7215144 for ; Tue, 14 Sep 1999 00:25:27 -0700 (PDT) (envelope-from kmarx@bigshed.com) Received: from bigshed.com (dnai-216-15-97-193.cust.dnai.com [216.15.97.193]) by oberon.dnai.com (8.9.3/8.9.3) with ESMTP id AAA08997 for ; Tue, 14 Sep 1999 00:25:27 -0700 (PDT) Message-ID: <37DDF9C8.F9AE98DB@bigshed.com> Date: Tue, 14 Sep 1999 00:31:20 -0700 From: Ken Marx X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 2.2.8-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: "freebsd-questions@FreeBSD.ORG" Subject: gproff/gmon.out on 3.x? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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