Difference between revisions of "Compiling ScummVM/Android"

Jump to navigation Jump to search
Mention required version of Platform-tools
(warn that jdk 6 is mandatory)
(Mention required version of Platform-tools)
(One intermediate revision by one other user not shown)
Line 10: Line 10:
Use the SDK Manager to install:
Use the SDK Manager to install:
* Android SDK Tools
* Android SDK Tools
* Android SDK Platform-tools
* Android SDK Platform-tools r06 or later
* SDK Platform Android 4.0, API 14
* SDK Platform Android 4.0, API 14


Line 41: Line 41:
  export STRIP=${PREFIX}strip
  export STRIP=${PREFIX}strip
  export OBJCOPY=${PREFIX}objcopy
  export OBJCOPY=${PREFIX}objcopy
export CPP=${PREFIX}cpp
   
   
  export MACHDEP="--sysroot=$ANDROID_NDK/platforms/android-4/arch-arm -g -mandroid -mthumb-interwork"
  export MACHDEP="--sysroot=$ANDROID_NDK/platforms/android-4/arch-arm -g -mandroid -mthumb-interwork"
Line 47: Line 48:
   
   
  export CXXFLAGS="${CFLAGS}"
  export CXXFLAGS="${CFLAGS}"
export CPPFLAGS="${CFLAGS}"
   
   
  export LDFLAGS="${MACHDEP}"
  export LDFLAGS="${MACHDEP}"
12

edits

Navigation menu