-
Notifications
You must be signed in to change notification settings - Fork 0
Linux 32 Bit Android Building Toolchain
License
GPL-2.0, LGPL-2.1 licenses found
Licenses found
GPL-2.0
COPYING
LGPL-2.1
COPYING.LIB
masterleron/android_prebuilts_gcc_linux-x86-32_arm_arm-linux-androideabi-4.6
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Linux/x86 32-bit gcc/binutils for arm-linux-androideabi-4.6 Usage ===== - Repo sync with your own local_manifest.xml - Put <project name="masterleron/android_prebuilts_gcc_linux-x86-32_arm_arm-linux-androideabi-4.6" path="prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6" remote="github" revision="jellybean" /> to your .repo/local_manifest.xml - Make sure I89ed0f00eda1a0bebbc35f39af4bbf0e97f6fade from CyanogenMod is applied to your build/ directory (see http://review.cyanogenmod.com/19152). # cd android/system/build # git clone http://review.cyanogenmod.org/CyanogenMod/android_build refs/changes/52/19152/2 Building ======== A=android/system # the directory where you repo synced TC=/tmp/toolchain-source cd $A/ndk/build/tools ./download-toolchain-sources.sh $TC cd $TC git clone https://android.googlesource.com/toolchain/mpc # this one is missing from download-toolchain-sources.sh # fix SOURCES to reflect mpc cd $A/ndk/build/tools # set DEFAULT_BINUTILS_VERSION=2.21 in dev-defaults.sh - binutils 2.19 don't support the 'orn' instruction and # you will get an assembler error when compiling ./gen-platforms.sh --minimal ./build-gcc.sh $TC $A/ndk arm-linux-androideabi-4.6 # find your output in $A/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86 Errors ======== # If you get this error when running ./download-toolchain-sources.sh: ERROR: Could not patch sources. Then you need to open download_toolchain_sources.sh located at $A/ndk/build/tools/download-toolchain-sources.sh and locate this paragraph: # Patch the toolchain sources if [ "$OPTION_NO_PATCHES" != "yes" ]; then PATCHES_DIR="$PROGDIR/toolchain-patches" if [ -d "$PATCHES_DIR" ] ; then dump "Patching toolchain sources" run $PROGDIR/patch-sources.sh $FLAGS $TMPDIR $PATCHES_DIR if [ $? != 0 ] ; then dump "ERROR: Could not patch sources." exit 1 fi fi fi # Change it to this: # Patch the toolchain sources if [ "$OPTION_NO_PATCHES" != "yes" ]; then PATCHES_DIR="$PROGDIR/toolchain-patches" if [ -d "$PATCHES_DIR" ] ; then dump "Patching toolchain sources" run $PROGDIR/patch-sources.sh $FLAGS $TMPDIR $PATCHES_DIR if [ $? != 0 ] ; then dump "ERROR: Could not patch sources." fi fi fi # Now ruun sudo apt-get install texinfo from terminal # Carry on now as normal
About
Linux 32 Bit Android Building Toolchain
Resources
License
GPL-2.0, LGPL-2.1 licenses found
Licenses found
GPL-2.0
COPYING
LGPL-2.1
COPYING.LIB
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- C 81.4%
- C++ 17.5%
- Other 1.1%