*BSD News Article 11844


Return to BSD News archive

Received: by minnie.vk1xwt.ampr.org with NNTP
	id AA2365 ; Mon, 01 Mar 93 10:56:05 EST
Newsgroups: comp.os.386bsd.bugs
Path: sserve!manuel.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!sol.ctr.columbia.edu!The-Star.honeywell.com!umn.edu!csus.edu!netcom.com!alm
From: alm@netcom.com (Andrew Moore)
Subject: Re: gprof broken?  gmon.out not saved after normal exit
Message-ID: <1993Feb27.234739.11913@netcom.com>
Organization: Netcom Online Communications Services (408-241-9760 login: guest)
References: <1993Feb27.135854.3453@netcom.com>
Date: Sat, 27 Feb 1993 23:47:39 GMT
Lines: 9

In article <1993Feb27.135854.3453@netcom.com> alm@netcom.com (Andrew Moore) writes:
>Some programs which generate a gmon.out under SunOS do not generate one
>under 386BSD.

When compiling with a makefile under 386BSD, the LDFLAGS must have the
-pg switch as well, i.e.,
LDFLAGS+=-pg
does the trick.
Thanks to Chris Demetriou and Jonas Olsson.