[Libreoffice] How to use gprof on LibO?

David Tardon dtardon at redhat.com
Mon Jan 31 00:38:59 PST 2011


On Sat, Jan 29, 2011 at 03:50:37PM +0100, Soeren Moeller wrote:
> Hi
> 
> In our effort of replacing deprecated data types from tools/ by std::
> types we would like to use gprof for profiling (to choose the right
> data types). But unfortunately, we don't know to set the -pg flag,

export ENVCFLAGSCXX=-pg before build should do.

> and
> where the gmon.out file would go.

To the same dir where the binary is? I.e., to install/program for
dev-install.

D.


More information about the LibreOffice mailing list