Changes between Version 40 and Version 41 of Getting-Started/iPhone


Ignore:
Timestamp:
Jan 5, 2012 2:32:10 AM (8 years ago)
Author:
ming
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Getting-Started/iPhone

    v40 v41  
    112112=== Supporting multiple architectures (armv6 and armv7) === 
    113113 
    114 You need to compile separately for each architecture. For armv7, you need to compile using the flags: 
     114You 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{{{ 
     116export ARCH = "-arch armv6" 
     117}}} 
     118 
     119For traditional gcc, you need to use these compilation flags (for armv7): 
    115120 
    116121{{{ 
     
    131136lipo -arch armv6 lib/armv6/libpjlib.a -arch armv7 lib/armv7/libpjlib.a -create -output lib/libpjlib.a 
    132137}}} 
    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. 
    135138 
    136139=== Unable to support Bluetooth input ===