File tree Expand file tree Collapse file tree 3 files changed +16
-2
lines changed Expand file tree Collapse file tree 3 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,10 @@ prevent errors due to missing TeX fonts while building a documentation. Since
6060possible to omit ` texlive-* ` in ` yum install ` and instead pass ` --no-pdf `
6161option to the ` build-all.sh ` script if the documentation is not required.
6262
63+ ` git ` package is required only if toolchain is being built from git
64+ repositories. If it is built from the source tarball, then ` git ` is not
65+ required.
66+
6367GCC depends on the GMP, MPFR and MPC packages, however there are problems with
6468availability of those packages on the RHEL/CentOS 6 systems (packages has too
6569old versions or not available at all). To avoid this problem our build script
Original file line number Diff line number Diff line change @@ -374,9 +374,19 @@ then
374374fi
375375
376376# GDB
377+
378+ # Similar to ARC Linux targets, on Windows there are issues with exceptions when
379+ # GDB is compiled as a C++ applications, so as a temporary measure disable C++
380+ # when doing canadian cross.
381+ if [ $IS_CROSS_COMPILING ]; then
382+ cxx_build=--disable-build-with-cxx
383+ else
384+ cxx_build=
385+ fi
386+
377387build_dir_init gdb
378388configure_elf32 gdb gdb --disable-ld --disable-gas --disable-binutils \
379- --enable-targets=arc-linux-uclibc
389+ --enable-targets=arc-linux-uclibc $cxx_build
380390make_target building all
381391make_target installing ${HOST_INSTALL} -gdb
382392if [ " $DO_PDF " = " --pdf" ]
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ BR2_archs38=y
33BR2_TOOLCHAIN_EXTERNAL=y
44BR2_TOOLCHAIN_EXTERNAL_PATH="$(ARC_TOOLCHAIN_PATH)"
55BR2_TOOLCHAIN_EXTERNAL_GCC_6=y
6- BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_7 =y
6+ BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_8 =y
77BR2_TOOLCHAIN_EXTERNAL_LOCALE=y
88BR2_TOOLCHAIN_EXTERNAL_HAS_SSP=y
99BR2_TOOLCHAIN_EXTERNAL_INET_RPC=y
You can’t perform that action at this time.
0 commit comments