[Flac-dev] libFLAC internals

Matt Zimmerman mdz at debian.org
Thu Feb 20 20:09:16 PST 2003


On Thu, Feb 20, 2003 at 05:46:50PM -0600, Brady Patterson wrote:

> Finally, in a more general context, is there an easy way to build for
> profiling, or do I have to edit the makefiles?  I'm using gcc and gprof.

If you want to profile an optimized build, you will need to tweak
configure.in, since it always adds -fomit-frame-pointer when not debugging
(maybe this should be changed...).

If a debugging build is OK, you should be able to do:

CFLAGS="-pg" ./configure --enable-debug

(likewise for whatever other CFLAGS you want)

-- 
 - mdz




More information about the Flac-dev mailing list