Home | History | Annotate | Download | only in tools

Lines Matching full:toolchain

573 #  TOOLCHAIN AND ABI PROCESSING
722 # Find mingw toolchain
724 # Set MINGW_GCC to the found mingw toolchain
731 # IMPORTANT NOTE: binutils 2.21 requires a cross toolchain named
733 # in the toolchain build. Note that binutils 2.19 can build properly
735 # toolchain install on Debian/Ubuntu.
737 # To solve this dilemma, we create a wrapper toolchain named
741 # We apply the same logic to the 64-bit Windows cross-toolchain
758 # Scan $BINPREFIXLST list to find installed mingw toolchain. It will be
763 dump "Found mingw toolchain: $MINGW_GCC"
769 # Check there is a working cross-toolchain installed.
771 # $1: install directory for mingw/darwin wrapper toolchain
784 echo "Please install the corresponding cross-toolchain and re-run this script"
791 echo "Please set DARWIN_TOOLCHAIN to darwin cross-toolchain"
795 echo "darwin cross-toolchain $DARWIN_TOOLCHAIN-gcc doesn't exist"
812 # Create a wrapper toolchain, and prepend its dir to our PATH
837 $NDK_BUILDTOOLS_PATH/gen-toolchain-wrapper.sh --src-prefix=$BINPREFIX --dst-prefix="$DST_PREFIX" "$CROSS_WRAP_DIR" \
839 # generate wrappers for BUILD toolchain
841 # 32-bit BUILD toolchain
843 $NDK_BUILDTOOLS_PATH/gen-toolchain-wrapper.sh --src-prefix=i386-linux-gnu- \
846 $NDK_BUILDTOOLS_PATH/gen-toolchain-wrapper.sh --src-prefix=i386-pc-linux-gnu- \
849 # 64-bit BUILD toolchain. libbfd is still built in 32-bit.
850 $NDK_BUILDTOOLS_PATH/gen-toolchain-wrapper.sh --src-prefix=x86_64-linux-gnu- \
852 $NDK_BUILDTOOLS_PATH/gen-toolchain-wrapper.sh --src-prefix=x86_64-pc-linux-gnu- \
854 fail_panic "Could not create $DEBIAN_NAME wrapper toolchain in $CROSS_WRAP_DIR"
881 # E.g. the ones used to rebuild the GCC toolchain from scratch.
907 # build in weird ways. Instead we rely on the toolchain detected or generated
913 # On Linux, detect our legacy-compatible toolchain when in the Android
928 log "Forcing generation of $HOST_OS binaries with legacy toolchain"
966 # will not work well with the GCC toolchain scripts.
1058 # $1: Toolchain name
1062 TOOLCHAIN=$1
1063 if [ -z "$TOOLCHAIN" ] ; then
1064 echo "ERROR: Missing toolchain name!"
1071 # Determine ABI based on toolchain name
1073 case "$TOOLCHAIN" in
1140 echo "Invalid toolchain specified. Expected (arm-linux-androideabi-*|arm-eabi-*|x86-*|mipsel*|mips64el*)"
1149 GCC_VERSION=`expr -- "$TOOLCHAIN" : '.*-\([0-9x\.]*\)'`
1154 case "$TOOLCHAIN" in
1186 echo "Unknown TOOLCHAIN=$TOOLCHAIN"
1312 # Return the default toolchain binary path prefix for given architecture and gcc version
1328 # Return llvm toolchain binary path prefix for given llvm version
1346 # For now, always build the toolchain against API level 9 for 32-bit arch
1355 # This is the sysroot used to build the toolchain and other binaries like
1403 # Return the host/build specific path for prebuilt toolchain binaries
1407 # $2: toolchain name
1417 # $1: toolchain name
1463 # Set the toolchain target NDK location.
1466 # $2: toolchain name
1470 log "Using toolchain path: $TOOLCHAIN_PATH"
1473 log "Using toolchain prefix: $TOOLCHAIN_PREFIX"
1476 # Check that a toolchain is properly installed at a target NDK location
1479 # $2: toolchain name
1486 echo " Toolchain '$2' not installed in '$NDK_DIR'!"
1487 echo " Ensure that the toolchain has been installed there before."
1494 # $1: toolchain source directory
1499 echo "ERROR: Please provide the path to the toolchain source tree. See --help"
1511 echo "This is not the top of a toolchain tree: $SRC_DIR"
1534 # when invoking toolchain build scripts. If it is not defined, we will