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


-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
Flac-dev mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/flac-dev

Reply via email to