Home | History | Annotate | Download | only in tools

Lines Matching refs:HOST

17 # Rebuild the host GCC toolchain binaries from sources.
19 # NOTE: this script does not rebuild gdb, see build-host-gdb.sh for this.
33 for the current host system [$HOST_TAG]. You can otherwise give a list of
43 By default, the script rebuilds the toolchain(s) for you host system [$HOST_TAG],
86 if you try to build several toolchains for several distinct host systems. Note
89 of a host toolchain as well, in case it is not listed in your --systems list.
94 The script will try to build the Gold linker for host/target combination that
137 register_var_option "--systems=<list>" HOST_SYSTEMS "Build binaries for these host systems"
156 register_var_option "--darwin-min-version=<version>" DARWIN_MIN_VERSION "Select minimum OS X version of generated host toolchains."
181 BUILD_DIR=/tmp/ndk-$USER/build/host-gcc
210 # Important note: When identifying a build or host system, there is
213 # A "system tag" is specific to the NDK and identifies a given host
308 printf "[${COLOR_GREEN}${HOST}${COLOR_END}]"
509 local TMPC=/tmp/build-host-gcc-$USER-$$.c
542 dump "$(host_text) Using host gcc: $GCC $@"
544 host gcc: $GCC $@"
550 # $1: host prefix, no trailing slash (e.g. i686-linux-android)
561 dump "$(host_text) Using host gcc: ${HOST_FULLPREFIX}gcc $@"
563 dump "$(host_text) Ignoring broken host gcc: $GCC $@"
570 # can target. This actually depends from the host architecture.
571 # $1: Host architecture name
612 local TMPC=/tmp/build-host-gcc-bits-$USER-$$.c
633 # to build binaries that run on a given host system. After that, it generates
634 # a wrapper toolchain under $WRAPPERS_DIR with a prefix of ${HOST}-
635 # where $HOST is a GNU configuration name.
637 # Important: this script might redefine $HOST to a different value!
647 # then save the result in host-specific global variables.
661 try_host_fullprefix "$(dirname $ANDROID_NDK_ROOT)/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6" i686-linux
662 try_host_fullprefix "$(dirname $ANDROID_NDK_ROOT)/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3" i686-linux
673 try_host_fullprefix "$(dirname $ANDROID_NDK_ROOT)/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6" x86_64-linux
760 # Adjust $HOST to match the toolchain to ensure proper builds.
765 HOST=i586-pc-mingw32msvc
768 HOST=i686-w64-mingw32msvc
809 HOST=amd64-pc-mingw32msvc
812 HOST=x86_64-w64-mingw32
849 # We're going to generate a wrapper toolchain with the $HOST prefix
850 # i.e. if $HOST is 'i686-linux-gnu', then we're going to generate a
859 --src-prefix="$HOST-" \
867 # used consistently to build any host-specific binaries.
869 # $1: Host system name (e.g. linux-x86), this is the name of the host system
878 # Determine the host configuration triplet in $HOST
879 HOST=$(tag_to_config_triplet $1)
885 # Note: since select_toolchain_for_host can change the value of $HOST
890 var_assign ${HOST_VAR}_CONFIG $HOST
893 HOST=$(var_value ${HOST_VAR}_CONFIG)
897 # Returns the location of all $HOST specific files (build and install)
900 echo "$TOP_BUILD_DIR/$HOST"
910 # Returns the install location of the $HOST pre-reqs libraries
916 # Returns the install location of the $HOST binutils cross-toolchain
922 # Returns the install location of the $HOST binutils cross-toolchain
928 # Returns the install location of the $HOST gcc cross-toolchain
941 # Location of the host sysroot used during the build
954 # Returns the final install location of the $HOST toolchain
988 # $NDK_DIR/prebuilts/$HOST/android-$TARGET_ARCH-gcc-$GCC_VERSION/
1016 # generate host-specific binaries.
1020 CC=$HOST-gcc
1021 CXX=$HOST-g++
1022 LD=$HOST-ld
1023 AR=$HOST-ar
1024 AS=$HOST-as
1025 RANLIB=$HOST-ranlib
1026 NM=$HOST-nm
1027 STRIP=$HOST-strip
1028 STRINGS=$HOST-strings
1100 --host=$HOST \
1126 stamps_do build-gmp-$GMP_VERSION-$HOST build_gmp $GMP_VERSION
1137 --host=$HOST \
1166 stamps_do build-mpfr-$MPFR_VERSION-$HOST build_mpfr $MPFR_VERSION
1177 --host=$HOST \
1187 # Build all pre-required host libraries (gmp, mpfr, etc...) that are needed
1203 stamps_do build-mpc-$MPC_VERSION-$HOST build_mpc $MPC_VERSION
1205 stamps_do build-mpfr-$MPFR_VERSION-$HOST build_mpfr $MPFR_VERSION
1311 # like build-host-libbfd.sh in the future.
1337 --host=$HOST \
1373 stamps_do build-binutils-$BINUTILS_VERSION-$HOST-$TARGET build_host_binutils
1379 if [ "$HOST" != "$BUILD" ]; then
1450 --host=$HOST \
1504 # $1: host system tag (e.g. linux-x86)
1512 # host toolchain first (even if we don't need target GCC libraries)
1536 # $1: host system tag (e.g. linux-x86)
1559 run2 copy_directory "$BINUTILS_DIR/$HOST/$TARGET/include" "$INSTALL_DIR/include" &&
1560 run2 copy_directory "$BINUTILS_DIR/$HOST/$TARGET/lib" "$INSTALL_DIR/lib$(tag_to_bits $SYSTEM)" &&
1604 # $1: host system tag (e.g. linux-x86)