POV-Ray : Newsgroups : povray.unix : Building for Profiling : Re: Building for Profiling Server Time
28 Apr 2024 21:40:57 EDT (-0400)
  Re: Building for Profiling  
From: Le Forgeron
Date: 12 Jun 2012 12:29:56
Message: <4fd76e84$1@news.povray.org>
Le 12/06/2012 18:10, Tom M nous fit lire :
> Hi Everyone,
> 
> I can't seem to get povray to build properly for profiling.  I've passed
> CXXFLAGS=-pg LDFLAGS=-pg
> to the configure script.  When I run povray, gmon.out is created, but when I run
> gprof, i get this:
> 
> $ gprof ./unix/povray
> gprof: file `./unix/povray' has no symbols
> 
> objdump -W ./unix/povray
> 
> does have a ton of output, so i think it does have symbols.
> 
> 
> I'm using 3.7RC5
> 
> Has anyone had any luck with this?

you have to get ride of the -s in the compilation flag: try
--enable-debug on ./configure

or ...

Have you tried --enable-profile ? (nah, too simple)


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.