Changes between Version 73 and Version 74 of Getting-Started/Android


Ignore:
Timestamp:
Oct 12, 2018 9:29:13 AM (6 years ago)
Author:
ismangil
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Getting-Started/Android

    v73 v74  
    3333 }}} 
    3434 
    35 Notes: 
    36  * It will build {{{armeabi}}} target, to build for other targets such as {{{arm64-v8a, armeabi-v7a, x86}}}, instead of just '{{{./configure-android}}}', specify the target arch in {{{TARGET_ABI}}} and run it with {{{--use-ndk-cflags}}}, for example:  
    37    {{{ 
    38    TARGET_ABI=armeabi-v7a ./configure-android --use-ndk-cflags 
    39    }}} 
    40    Also you should adjust [https://developer.android.com/ndk/guides/abis.html#gc Application.mk] and [https://developer.android.com/ndk/guides/abis.html#am library packaging path] (see also #1803). 
    41  * The {{{./configure-android}}} is a wrapper that calls the standard {{{./configure}}} script with settings suitable for Android target. Standard {{{./configure}}} options should be applicable to this script too. Please check {{{./configure-android --help}}} for more info. 
    42  * Other customizations are similar to what is explained in [wiki:Getting-Started/Autoconf Building with GNU] page. 
    43  * Before building for another architecture, make sure to cleanup all existing binary and intermediate files, e.g: 
     35This will build {{{armeabi}}} target, to build for other targets such as {{{arm64-v8a, armeabi-v7a, x86}}} see next section. 
     36 
     37=== Building for other architectures === 
     38    * Make sure to cleanup all existing binary and intermediate files, e.g: 
    4439      {{{ 
    4540$ cd /path/to/your/pjsip/dir 
     
    5550$ make clean 
    5651      }}} 
     52 
     53* Specify the target arch in {{{TARGET_ABI}}} and run it with {{{--use-ndk-cflags}}}, for example:  
     54   {{{ 
     55   TARGET_ABI=armeabi-v7a ./configure-android --use-ndk-cflags 
     56   }}} 
     57   Also you should adjust [https://developer.android.com/ndk/guides/abis.html#gc Application.mk] and [https://developer.android.com/ndk/guides/abis.html#am library packaging path] (see also #1803). 
     58 
     59=== Notes === 
     60 * The {{{./configure-android}}} is a wrapper that calls the standard {{{./configure}}} script with settings suitable for Android target. Standard {{{./configure}}} options should be applicable to this script too. Please check {{{./configure-android --help}}} for more info. 
     61 * Other customizations are similar to what is explained in [wiki:Getting-Started/Autoconf Building with GNU] page. 
    5762 
    5863== Video Support ==