Lines Matching refs:toolchain
463 # TOOLCHAIN AND ABI PROCESSING
571 # mingw32 toolchain installed.
575 # $1: install directory for wrapper toolchain
583 # IMPORTANT NOTE: binutils 2.21 requires a cross toolchain named
585 # in the toolchain build. Note that binutils 2.19 can build properly
587 # toolchain install on Debian/Ubuntu.
589 # To solve this dilemma, we create a wrapper toolchain named
593 # We apply the same logic to the 64-bit Windows cross-toolchain
609 dump "Found mingw toolchain: $MINGW_GCC"
612 # then, if it is there, create a wrapper toolchain for it
616 echo "Please install the corresponding cross-toolchain and re-run this script"
620 # Create a wrapper toolchain, and prepend its dir to our PATH
629 $NDK_BUILDTOOLS_PATH/gen-toolchain-wrapper.sh --src-prefix=$BINPREFIX1 --dst-prefix="$DST_PREFIX" "$MINGW_WRAP_DIR"
630 fail_panic "Could not create mingw wrapper toolchain in $MINGW_WRAP_DIR"
659 # E.g. the ones used to rebuild the GCC toolchain from scratch.
682 # build in weird ways. Instead we rely on the toolchain detected or generated
688 # On Linux, detect our legacy-compatible toolchain when in the Android
698 log "Forcing generation of Linux binaries with legacy toolchain"
747 # will not work well with the GCC toolchain scripts.
828 # $1: Toolchain name
832 TOOLCHAIN=$1
833 if [ -z "$TOOLCHAIN" ] ; then
834 echo "ERROR: Missing toolchain name!"
841 # Determine ABI based on toolchain name
843 case "$TOOLCHAIN" in
881 echo "Invalid toolchain specified. Expected (arm-linux-androideabi-*|x86-*|mips*)"
890 GCC_VERSION=`expr -- "$TOOLCHAIN" : '.*-\([0-9x\.]*\)'`
894 case "$TOOLCHAIN" in
993 # For now, always build the toolchain against API level 9
994 # (We have local toolchain patches under build/tools/toolchain-patches
1001 # This is the sysroot used to build the toolchain and other binaries like
1019 # Return the host/build specific path for prebuilt toolchain binaries
1023 # $2: toolchain name
1033 # $1: toolchain name
1084 # Set the toolchain target NDK location.
1087 # $2: toolchain name
1091 log "Using toolchain path: $TOOLCHAIN_PATH"
1094 log "Using toolchain prefix: $TOOLCHAIN_PREFIX"
1097 # Check that a toolchain is properly installed at a target NDK location
1100 # $2: toolchain name
1107 echo " Toolchain '$2' not installed in '$NDK_DIR'!"
1108 echo " Ensure that the toolchain has been installed there before."
1115 # $1: toolchain source directory
1120 echo "ERROR: Please provide the path to the toolchain source tree. See --help"
1132 echo "This is not the top of a toolchain tree: $SRC_DIR"
1133 echo "You must give the path to a copy of the toolchain source directories"
1134 echo "created by 'download-toolchain-sources.sh."
1141 # when invoking toolchain build scripts. If it is not defined, we will