Opened 13 years ago

Closed 11 years ago

#1516 closed enhancement (fixed)

Build system for Android target

Reported by: bennylp Owned by: bennylp
Priority: normal Milestone: release-2.2
Component: common Version: trunk
Keywords: android Cc:
Backport to 1.x milestone: Backported: no

Description

Adjust existing build system to support Android or create a new one that is based on Android.mk.

Change History (14)

comment:1 Changed 12 years ago by ming

  • Milestone changed from release-2.0.1 to release-2.1

comment:2 Changed 12 years ago by ming

In 4192:

Re #1516: Build system for Android
How to use:

  • export ANDROID_NDK=/path_to_android_ndk_dir
  • Run ./configure-android

comment:3 Changed 12 years ago by ming

In 4195:

Re #1516: add configure-android file

comment:4 Changed 12 years ago by ming

In 4202:

Re #1516: Add automatic Android API level detection and option to use ndk-build compilation flags

comment:5 Changed 12 years ago by ming

In 4211:

Re #1516: Add sample config for Android build
Please refer to Android Getting Started guide

comment:6 Changed 12 years ago by ming

In 4221:

Re #1516: Add help info for configure-android, add support for selecting target architecture

comment:7 Changed 12 years ago by ming

In 4222:

Re #1516: Fixed compatibility problem with configure script on Ubuntu

comment:8 Changed 11 years ago by ming

In 4594:

Re #1516: Add support to build for other targets. Example:
TARGET_ABI=armeabi-v7a ./configure-android --use-ndk-cflags

comment:9 Changed 11 years ago by nanang

In 4599:

Re #1516: Fixed configure-android in probing toolchain dir (reported that on ndk-r8, there is also 'gdbserver' dir under 'toolchains/arm/prebuilt').

comment:10 Changed 11 years ago by ming

In 4604:

Re #1516: Add feature to ignore certain compilation flags from the --use-ndk-cflags option.

comment:11 Changed 11 years ago by ming

In 4651:

Re #1516: Set AR and RANLIB (thanks to Brian Walker for the patch)

comment:12 Changed 11 years ago by nanang

In 4689:

Re #1516: Avoid duplicated LDFLAGS in pjlib-test, which may raise linking errors (e.g: on Android).

comment:13 Changed 11 years ago by bennylp

In 4732:

Re #1516: fixing multiple inclusions of crtbegin.o and -lgcc in the makefiles. The former causes link errors due to multiple symbols

comment:14 Changed 11 years ago by bennylp

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.