Skip to content

Commit ff54890

Browse files
Merge branch 'arc-dev' into arc-staging
2 parents 996e547 + e7204ce commit ff54890

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ prevent errors due to missing TeX fonts while building a documentation. Since
6060
possible to omit `texlive-*` in `yum install` and instead pass `--no-pdf`
6161
option 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+
6367
GCC depends on the GMP, MPFR and MPC packages, however there are problems with
6468
availability of those packages on the RHEL/CentOS 6 systems (packages has too
6569
old versions or not available at all). To avoid this problem our build script

build-elf32.sh

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,9 +374,19 @@ then
374374
fi
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+
377387
build_dir_init gdb
378388
configure_elf32 gdb gdb --disable-ld --disable-gas --disable-binutils \
379-
--enable-targets=arc-linux-uclibc
389+
--enable-targets=arc-linux-uclibc $cxx_build
380390
make_target building all
381391
make_target installing ${HOST_INSTALL}-gdb
382392
if [ "$DO_PDF" = "--pdf" ]

extras/buildroot/axs103.defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ BR2_archs38=y
33
BR2_TOOLCHAIN_EXTERNAL=y
44
BR2_TOOLCHAIN_EXTERNAL_PATH="$(ARC_TOOLCHAIN_PATH)"
55
BR2_TOOLCHAIN_EXTERNAL_GCC_6=y
6-
BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_7=y
6+
BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_8=y
77
BR2_TOOLCHAIN_EXTERNAL_LOCALE=y
88
BR2_TOOLCHAIN_EXTERNAL_HAS_SSP=y
99
BR2_TOOLCHAIN_EXTERNAL_INET_RPC=y

0 commit comments

Comments
 (0)