Changes between Version 142 and Version 143 of AndroidPort


Ignore:
Timestamp:
2012-01-23 10:20:02 (16 months ago)
Author:
afeder
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AndroidPort

    v142 v143  
    203203 
    204204=== Installing replacement libraries === 
    205 The game has a range of external dependencies. Each of these has to be compiled for the target device's processor architecture and installed in the compiler toolchain's SYSROOT, so they can be linked against when the game itself has been compiled. 
    206  
    207 Download the following libraries to the working directory and then unpack them there: 
    208  
    209  * [http://www.boost.org/users/download/#live Boost] (latest version) 
    210  * [https://developer.mozilla.org/en/SpiderMonkey/1.8.5 SpiderMonkey] (1.8.5) 
    211  
    212 Move the source code directory of each library into the `~/android/toolchain/sysroot/usr/include/` directory, e.g.: 
    213  
    214 {{{ 
    215 $ cd ~/android 
    216 $ mv boost_1_48_0/boost toolchain/sysroot/usr/include/boost 
    217 $ mv js-1.8.5/js/src toolchain/sysroot/usr/include/js 
    218 }}} 
    219 Also copy the SDL source code into the directory: 
    220  
    221 {{{ 
    222 $ cp -r ~/android/0ad/jni/SDL/src ~/android/toolchain/sysroot/usr/include/SDL 
    223 }}} 
    224  
    225 Now we must build !SpiderMonkey. Change directory to the !SpiderMonkey source code directory, e.g.: 
    226  
    227 {{{ 
    228 $ cd ~/android/0ad/jni/lib/js 
    229 }}} 
    230 Then execute the following commands to compile !SpiderMonkey as a static library: 
    231  
    232 {{{ 
    233 $ ./configure --disable-shared-js 
    234 $ make 
    235 }}} 
     205The game has a range of external dependencies. Each of these has to be compiled for the target device's processor architecture and installed in the compiler toolchain's SYSROOT, so they can be linked against when the game itself has been compiled.  
    236206 
    237207=== Building the application ===