Sender: nate AT cartsys DOT com Message-ID: <36C5EAFD.1B7B1C80@cartsys.com> Date: Sat, 13 Feb 1999 13:13:33 -0800 From: Nate Eldredge X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.1 i586) MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: Gprof Complains that foo.exe has no symbols References: <786CCD895275D211BF540090271E0AD10ADB03 AT BALWYN_SERVER> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Phil Rumble wrote: > > I compile the executable with the -pg option, but when I run gprof it spits > out the message > > "foo.exe has no symbols" > > Can anyone tell me how to get profiling to work Did you run `strip' or `djp' or some such on your executable, or use `-s' when linking? If so, don't do that; they remove the symbol info needed to produce a profile. -- Nate Eldredge nate AT cartsys DOT com