From owner-freebsd-hackers Wed Apr 1 01:25:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA21297 for freebsd-hackers-outgoing; Wed, 1 Apr 1998 01:25:56 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from securedata.co.za (tyr.securedata.co.za [196.31.48.253]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA21282 for ; Wed, 1 Apr 1998 01:25:39 -0800 (PST) (envelope-from andy@bss.co.za) Received: from securedata.co.za (tyr-ssn.securedata.co.za [192.168.10.1]) by sd.co.za (8.8.5/0.1.1) with ESMTP id LAA12825 for ; Wed, 1 Apr 1998 11:26:48 +0200 (SAT) Message-ID: <35222ED0.CFC6FF6C@bss.co.za> Date: Wed, 01 Apr 1998 11:10:56 -0200 From: Andy Bontoft Organization: BSS SecureDATA group X-Mailer: Mozilla 4.04 [en] (Win95; U) MIME-Version: 1.0 To: freebsd-hackers@FreeBSD.ORG Subject: cc -pg & gprof question Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG i'm sorry if this is the wrong list for such a question, i tried -questions to no avail. could someone please be kind enough to tell me where i might find an example of using the gprof(1) program and/with cc -pg? (or tell me waht i'm doing wrong) i've read the psd:18 document and been through the archive search but can't seem to find the answer. i keep getting: % cc -pg -g test.c ld: -lc_p: no match and i don't seem to have a libc_p...(btw this is 2.2.5R) thanx for any assistance. andy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message