• Andrew Hsieh's avatar
    Add x86_64 toolchain x86_64-linux-android-4.9 (darwin-x86) · 8edfd4eb
    Andrew Hsieh authored
    Build instructions (on MacOSX):
    
    export AOSP=your-AOSP-path
    export NDK=$AOSP/ndk
    cd $NDK ; ./build/tools/dev-cleanup.sh
    ./build/tools/download-toolchain-sources.sh /tmp/ndk-$USER/src
    ./build/tools/gen-platforms.sh --minimal --dst-dir=$NDK --ndk-dir=$NDK --arch=x86_64
    ./build/tools/build-gcc.sh /tmp/ndk-$USER/src $NDK x86_64-4.9 --try-64
    rm -rf $NDK/toolchains/x86_64-4.9/prebuilt/darwin-x86_64/sysroot
    cp -a $NDK/toolchains/x86_64-4.9/prebuilt/darwin-x86_64/* \
      $AOSP/prebuilts/gcc/darwin-x86_64/x86/x86_64-linux-android-4.9
    
    Change-Id: Ibe68587189bfab7da6a688b8357481b29a65091f
    8edfd4eb
This project is licensed under the Other. Learn more