Changes between Version 146 and Version 147 of AndroidPort


Ignore:
Timestamp:
Jan 23, 2012, 4:36:50 PM (12 years ago)
Author:
Anders Feder
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AndroidPort

    v146 v147  
    199199
    200200=== Installing replacement libraries ===
    201 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 we can link against them when building the game itself.
     201The 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 we can link against them when building the game itself.
     202
     203First we need to set up the environment for cross-compiling using the standalone toolchain:
     204
     205{{{
     206$ export HOSTCONF=arm-unknown-linux-gnu
     207$ export CROSS_COMPILE=arm-linux-androideabi
     208$ export CC=${CROSS_COMPILE}-gcc
     209$ export CXX=${CROSS_COMPILE}-g++
     210}}
    202211
    203212=== Building the application ===