Changes between Version 40 and Version 41 of Getting-Started/iPhone
- Timestamp:
- Jan 5, 2012 2:32:10 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Getting-Started/iPhone
v40 v41 112 112 === Supporting multiple architectures (armv6 and armv7) === 113 113 114 You need to compile separately for each architecture. For armv7, you need to compile using the flags: 114 You need to compile separately for each architecture. If your iPhone SDK has '''{{{llvm-gcc}}}''' compiler (which is the supported compiler starting iOS SDK 5), then you need to set '''{{{ARCH}}}''' environment variable to the desired architecture before running {{{configure-iphone}}}, for example: 115 {{{ 116 export ARCH = "-arch armv6" 117 }}} 118 119 For traditional gcc, you need to use these compilation flags (for armv7): 115 120 116 121 {{{ … … 131 136 lipo -arch armv6 lib/armv6/libpjlib.a -arch armv7 lib/armv7/libpjlib.a -create -output lib/libpjlib.a 132 137 }}} 133 134 Another way to build a universal binary (for reference on how to build it on MacOS X, please see [https://trac.pjsip.org/repos/wiki/FAQ#osx-universal the FAQ here]) is to use '''{{{llvm-gcc}}}''' compiler provided in the iPhone SDK. For reference, please see [http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2011-June/013052.html this discussion] in pjsip mailing list.135 138 136 139 === Unable to support Bluetooth input ===