Status of TCS211 on C139

Das Signal das.signal at freecalypso.org
Thu Nov 12 20:55:10 CET 2015


Hi,

In addition, gcc also requires to be patched so that makeinfo does
not complain about:

../../gcc-4.5.4/gcc/doc/cppopts.texi:763: @itemx must follow @item

The new patch (plus attachment) fixes the issue:

diff --git a/toolchain/build+install.sh b/toolchain/build+install.sh
index 5aed749..1197700 100755
--- a/toolchain/build+install.sh
+++ b/toolchain/build+install.sh
@@ -37,7 +37,7 @@ tar xjf $1/binutils-2.21.1a.tar.bz2
 patch binutils-2.21.1/bfd/elf32-arm.c < binutils-patches/elf32-arm.patch
 mkdir -p binutils-build
 cd binutils-build
-../binutils-2.21.1/configure --prefix=$2 ${target_args} --disable-nls
+CFLAGS="-Wno-error=unused-value" ../binutils-2.21.1/configure --prefix=$2 ${target_args} --disable-nls
 make all
 make install
 cd ..
@@ -51,6 +51,7 @@ tar xzf $1/newlib-${newlib_version}.tar.gz
 
 # patch gcc as needed
 cp t-arm-elf gcc-${gcc_version}/gcc/config/arm
+patch -d gcc-4.5.4 -Np1 -i ../gcc-texinfo-itemx.patch
 
 # gcc depends on binutils - add our install destination dir to the PATH
 # we prepend it to avoid surprises if some other arm-elf- toolchain

--DS


More information about the Community mailing list