Hi i would use the user.mak file to set this flag should look like # You can create user.mak file in PJ root directory to specify # additional flags to compiler and linker. For example: export CFLAGS += -pj export LDFLAGS += Regards On Mar 26, 2010, at 6:17 PM, Alfonso Ortega wrote: > Hello all, > > I would like to profile pjsua to help optimize it for an embedded platform. When I build pjproject, I do: > > ./configure CFLAGS="-pg" > make dep && make > > but when I run the newly built pjsua app, no gmon.out file is generated. Am I missing something? > > -Alfonso Ortega > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org ------ Alejandro Orellana Savant Systems, LLC 770 Main Street Osterville, Ma. 02655 (508) 683-2547 (W) (508) 683-2647 (F) Alejandro.Orellana at savantav.com Statement of Confidentiality The contents of this e-mail message and any attachments are confidential and are intended solely for the addressee. The information may also be legally privileged. This transmission is sent in trust, and the sole purpose of delivery to the intended recipient. If you have received this transmission in error, any use, reproduction or dissemination of this transmission is strictly prohibited. If you are not the intended recipient, please immediately notify the sender by reply e-mail or at 508.683-2500 and delete this message and its attachments, if any. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20100326/6f31c8d7/attachment-0001.html>