Skip to content

Instantly share code, notes, and snippets.



Last active Dec 14, 2015
What would you like to do?
build pjsip from source.
build pjsip
cd /path/to/your/pjsip/dir
for armv7
ARCH='-arch armv7' ./configure-iphone
or for armv7s
ARCH='-arch armv7s' ./configure-iphone
or for simulator
export DEVPATH=/Applications/
export CC=/Applications/
CFLAGS="-O2 -m32 -miphoneos-version-min=4.0" LDFLAGS="-O2 -m32" ./configure-iphone
settings are in
- 'user.mak'
- 'pjlib/include/pj/config_site.h' make sure it contains this:
#include <pj/config_site_sample.h>
make dep && make clean && make
#will get the fourth column from a space delimited file
cut -d" " -f4 grep.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.