libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Profiling a library built with libtool


From: Benoit SIGOURE
Subject: Re: Profiling a library built with libtool
Date: Fri, 13 Jul 2007 19:02:34 +0200

On Jul 13, 2007, at 6:57 PM, Joseph Wakeling wrote:

Benoit SIGOURE wrote:
Hmm you are right, I didn't notice during my test that I also had zeros.
Build a static version of your project and it'll work.

./configure --disable-shared
make clean all CFLAGS='-pg -all-static'

Ahh, brilliant!  Thank you ever so much.

The -all-static option generates an error but I can leave it out and
still get the full profile info.

Uh, yes, sorry, it's meant to be in LDFLAGS and used only if you use libtool to build everything.


Problem solved!

Good for you :)
Cheers,

--
Benoit Sigoure aka Tsuna
EPITA Research and Development Laboratory


Attachment: PGP.sig
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]