Lines Matching refs:toolchain
30 # Binaries built by new linux host toolchain "prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6"
512 # TOOLCHAIN AND ABI PROCESSING
661 # Find mingw toolchain
663 # Set MINGW_GCC to the found mingw toolchain
667 # IMPORTANT NOTE: binutils 2.21 requires a cross toolchain named
669 # in the toolchain build. Note that binutils 2.19 can build properly
671 # toolchain install on Debian/Ubuntu.
673 # To solve this dilemma, we create a wrapper toolchain named
677 # We apply the same logic to the 64-bit Windows cross-toolchain
694 # Scan $BINPREFIXLST list to find installed mingw toolchain. It will be
699 dump "Found mingw toolchain: $MINGW_GCC"
705 # Check there is a working cross-toolchain installed.
707 # $1: install directory for mingw/darwin wrapper toolchain
720 echo "Please install the corresponding cross-toolchain and re-run this script"
727 echo "Please set DARWIN_TOOLCHAIN to darwin cross-toolchain"
731 echo "darwin cross-toolchain $DARWIN_TOOLCHAIN-gcc doesn't exist"
748 # Create a wrapper toolchain, and prepend its dir to our PATH
773 $NDK_BUILDTOOLS_PATH/gen-toolchain-wrapper.sh --src-prefix=$BINPREFIX --dst-prefix="$DST_PREFIX" "$CROSS_WRAP_DIR" \
775 # generate wrappers for BUILD toolchain
777 # 32-bit BUILD toolchain
780 $NDK_BUILDTOOLS_PATH/gen-toolchain-wrapper.sh --src-prefix=i386-linux-gnu- \
782 $NDK_BUILDTOOLS_PATH/gen-toolchain-wrapper.sh --src-prefix=i386-pc-linux-gnu- \
784 # 64-bit BUILD toolchain. libbfd is still built in 32-bit. Use gcc-sdk instead
787 $NDK_BUILDTOOLS_PATH/gen-toolchain-wrapper.sh --src-prefix=x86_64-linux-gnu- \
789 $NDK_BUILDTOOLS_PATH/gen-toolchain-wrapper.sh --src-prefix=x86_64-pc-linux-gnu- \
791 fail_panic "Could not create $DEBIAN_NAME wrapper toolchain in $CROSS_WRAP_DIR"
794 $NDK_BUILDTOOLS_PATH/gen-toolchain-wrapper.sh --src-prefix=i386-linux-gnu- \
797 $NDK_BUILDTOOLS_PATH/gen-toolchain-wrapper.sh --src-prefix=i386-pc-linux-gnu- \
800 # 64-bit BUILD toolchain. libbfd is still built in 32-bit.
801 $NDK_BUILDTOOLS_PATH/gen-toolchain-wrapper.sh --src-prefix=x86_64-linux-gnu- \
803 $NDK_BUILDTOOLS_PATH/gen-toolchain-wrapper.sh --src-prefix=x86_64-pc-linux-gnu- \
805 fail_panic "Could not create $DEBIAN_NAME wrapper toolchain in $CROSS_WRAP_DIR"
833 # E.g. the ones used to rebuild the GCC toolchain from scratch.
859 # build in weird ways. Instead we rely on the toolchain detected or generated
865 # On Linux, detect our legacy-compatible toolchain when in the Android
885 log "Forcing generation of $HOST_OS binaries with legacy toolchain"
923 # will not work well with the GCC toolchain scripts.
1015 # $1: Toolchain name
1019 TOOLCHAIN=$1
1020 if [ -z "$TOOLCHAIN" ] ; then
1021 echo "ERROR: Missing toolchain name!"
1028 # Determine ABI based on toolchain name
1030 case "$TOOLCHAIN" in
1099 echo "Invalid toolchain specified. Expected (arm-linux-androideabi-*|arm-eabi-*|x86-*|mipsel*|mips64el*)"
1108 GCC_VERSION=`expr -- "$TOOLCHAIN" : '.*-\([0-9x\.]*\)'`
1113 case "$TOOLCHAIN" in
1145 echo "Unknown TOOLCHAIN=$TOOLCHAIN"
1348 # Return the default toolchain binary path prefix for given architecture and gcc version
1364 # Return llvm toolchain binary path prefix for given llvm version
1393 # For now, always build the toolchain against API level 9 for 32-bit arch
1402 # This is the sysroot used to build the toolchain and other binaries like
1436 # Return the host/build specific path for prebuilt toolchain binaries
1440 # $2: toolchain name
1450 # $1: toolchain name
1501 # Set the toolchain target NDK location.
1504 # $2: toolchain name
1508 log "Using toolchain path: $TOOLCHAIN_PATH"
1511 log "Using toolchain prefix: $TOOLCHAIN_PREFIX"
1514 # Check that a toolchain is properly installed at a target NDK location
1517 # $2: toolchain name
1524 echo " Toolchain '$2' not installed in '$NDK_DIR'!"
1525 echo " Ensure that the toolchain has been installed there before."
1532 # $1: toolchain source directory
1537 echo "ERROR: Please provide the path to the toolchain source tree. See --help"
1549 echo "This is not the top of a toolchain tree: $SRC_DIR"
1550 echo "You must give the path to a copy of the toolchain source directories"
1551 echo "created by 'download-toolchain-sources.sh."
1558 # when invoking toolchain build scripts. If it is not defined, we will