Home | History | Annotate | Download | only in tools

Lines Matching refs:BUILD

19 # NOTE: this script does not rebuild gdb, see build-host-gdb.sh for this.
64 You can build Windows binaries on Linux if you have a Windows-targetting
66 'build-mingw64-toolchain.sh' can be used to rebuild such a toolchain
81 If you want to build Darwin binaries on a non-Darwin machine, you will
85 The script is sufficiently clever to minimize all build steps, especially
86 if you try to build several toolchains for several distinct host systems. Note
94 The script will try to build the Gold linker for host/target combination that
95 are well supported (Gold doesn't build / is buggy for some of them). However,
106 --force-gold-build Force the build of the Gold linker, even if it is known
131 register_var_option "--build-dir=<path>" BUILD_DIR "Build GCC into directory"
137 register_var_option "--systems=<list>" HOST_SYSTEMS "Build binaries for these host systems"
143 register_var_option "--no-target-libs" NO_TARGET_LIBS "Don't build gcc target libs."
163 register_var_option "--force-gold-build" FORCE_GOLD_BUILD "Always try to build Gold (experimental)."
181 BUILD_DIR=/tmp/ndk-$USER/build/host-gcc
200 # The values of HOST_OS/ARCH/TAG will be redefined during the build to
204 # machine where the build happens.
210 # Important note: When identifying a build or host system, there is
243 # triplet when configuring binutils-2.21, the build will fail. You need to
248 # code generation. Note all build scripts accept the same mix of
329 # to linux-x86 instead to speed-up the build.
332 # - we build a $BUILD_OS-x86 toolchain on a $BUILD_OS-x86_64 machine
333 # - we don't want to build $BUILD_OS-x86_64 either.
335 # Then we can change our BUILD values to $BUILD_OS-x86
336 # This assumes that the build machine's toolchain can generate both
355 # Ok, we want to build a 32-bit toolchain on a 64-bit machine
359 dump "Forcing build config: $BUILD_TAG"
468 setup_default_log_file $BUILD_DIR/build.log
484 BUILD=$(tag_to_config_triplet $BUILD_TAG)
509 local TMPC=/tmp/build-host-gcc-$USER-$$.c
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
649 # In the build phase, we will simply restore the values into the
698 # NOTE: The 10.5.sdk on Lion is buggy and cannot build basic C++ programs
710 dump "If you want to build Darwin binaries on a non-Darwin machine,"
737 # build-mingw64-toolchain.sh.
753 dump " x86_64-w64-mingw32-gcc (see build-mingw64-toolchain.sh)"
754 dump " i686-w64-mingw32-gcc (see build-mingw64-toolchain.sh)"
778 # Sanity check for GMP which doesn't build with x86_64-w64-mingw32-gcc
782 dump "You cannot build a 64-bit Windows toolchain with this version of libgmp."
799 dump " x86_64-w64-mingw32-gcc (see build-mingw64-toolchain.sh)"
800 dump " i686-w64-mingw32-gcc (see build-mingw64-toolchain.sh)"
867 # used consistently to build any host-specific binaries.
897 # Returns the location of all $HOST specific files (build and install)
903 # Return the location of the build directory for a specific component
907 echo "$(host_build_dir)/build-$1"
925 echo "$TOP_BUILD_DIR/$BUILD/temp-binutils-$BINUTILS_VERSION-$TARGET"
934 # Returns the install location of the $BUILD gcc cross-toolchain
937 BUILD/temp-$TOOLCHAIN"
941 # Location of the host sysroot used during the build
993 # These will go into CFLAGS_FOR_TARGET and others during the build
1007 # You can't really build these separately at the moment.
1015 # This function is used to setup the build environment whenever we
1099 --build=$BUILD \
1126 stamps_do build-gmp-$GMP_VERSION-$HOST build_gmp $GMP_VERSION
1136 --build=$BUILD \
1166 stamps_do build-mpfr-$MPFR_VERSION-$HOST build_mpfr $MPFR_VERSION
1176 --build=$BUILD \
1187 # Build all pre-required host libraries (gmp, mpfr, etc...) that are needed
1200 # Only build MPC when we need it.
1203 stamps_do build-mpc-$MPC_VERSION-$HOST build_mpc $MPC_VERSION
1205 stamps_do build-mpfr-$MPFR_VERSION-$HOST build_mpfr $MPFR_VERSION
1259 dump "$(host_text)$(target_text): Cannot build Gold for this toolchain!"
1263 # Ok, if the user *really* wants it, we're going to build Gold anyway.
1268 dump "$(host_text)$(target_text): Warning: forcing build of potentially buggy Gold linker!"
1272 # The BFD linker is always built, but to build Gold, we need a specific
1310 # build. TODO: Probably want to move this step to its own script
1311 # like build-host-libbfd.sh in the future.
1336 --build=$BUILD \
1344 # doesn't seem to build gold, and the Makefile script forgets to
1373 stamps_do build-binutils-$BINUTILS_VERSION-$HOST-$TARGET build_host_binutils
1379 if [ "$HOST" != "$BUILD" ]; then
1402 # TODO: Build fails for libsanitizer which appears in 4.8. Disable for now.
1449 --build=$BUILD \
1496 # This is a regular-cross build, and we need to build the target GCC libraries.
1499 # This is a canadian-cross build, or we don't need the target GCC libraries.
1517 # We do this both in the setup and build phase to ensure we perform
1518 # as many checks as possible before launching the (long) build procedure.
1522 if [ "$PHASE" = build ]; then
1523 stamps_do build-gcc-$SYSTEM-$TOOLCHAIN build_host_gcc
1600 local TOOLCHAIN_LICENSES="$ANDROID_NDK_ROOT"/build/tools/toolchain-licenses
1623 for PHASE in setup build; do