projects
/
summon-arm-toolchain.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
14b5330
)
Binutils should compile now with --disable-werror. Enabled second gcc build again.
author
Piotr Esden-Tempski
<piotr@esden.net>
Sun, 27 Dec 2009 11:13:43 +0000
(12:13 +0100)
committer
Piotr Esden-Tempski
<piotr@esden.net>
Sun, 27 Dec 2009 11:13:43 +0000
(12:13 +0100)
summon-arm-toolchain
patch
|
blob
|
history
diff --git
a/summon-arm-toolchain
b/summon-arm-toolchain
index 9e2a6e0da122a999a717584865212e85bf01c3bb..c3ecf6e4cb4744813748733e2af52e3264f4e2a6 100755
(executable)
--- a/
summon-arm-toolchain
+++ b/
summon-arm-toolchain
@@
-28,6
+28,7
@@
case "$(uname)" in
echo "Found Linux OS."
GCCFLAGS=
GDBFLAGS=
echo "Found Linux OS."
GCCFLAGS=
GDBFLAGS=
+ BINUTILFLAGS=
;;
Darwin)
echo "Found Darwin OS."
;;
Darwin)
echo "Found Darwin OS."
@@
-35,6
+36,7
@@
case "$(uname)" in
--with-mpfr=${DARWIN_OPT_PATH} \
-with-libiconv-prefix=${DARWIN_OPT_PATH}"
GDBFLAGS="--disable-werror"
--with-mpfr=${DARWIN_OPT_PATH} \
-with-libiconv-prefix=${DARWIN_OPT_PATH}"
GDBFLAGS="--disable-werror"
+ BINUTILFLAGS="--disable-werror"
;;
*)
echo "Found unknown OS. Aborting!"
;;
*)
echo "Found unknown OS. Aborting!"
@@
-125,7
+127,8
@@
if [ ! -e .${BINUTILS}.build ]; then
--enable-multilib \
--with-gnu-as \
--with-gnu-ld \
--enable-multilib \
--with-gnu-as \
--with-gnu-ld \
- --disable-nls || exit
+ --disable-nls \
+ ${BINUTILFLAGS} || exit
echo "******************************************************************"
echo "* Building ${BINUTILS}"
echo "******************************************************************"
echo "******************************************************************"
echo "* Building ${BINUTILS}"
echo "******************************************************************"
@@
-217,22
+220,22
@@
if [ ! -e .${GCC}.build ]; then
echo "******************************************************************"
echo "* Unpacking ${GCC}"
echo "******************************************************************"
echo "******************************************************************"
echo "* Unpacking ${GCC}"
echo "******************************************************************"
-
#
tar xfvj ${SOURCES}/${GCC}.tar.bz2
+ tar xfvj ${SOURCES}/${GCC}.tar.bz2
cd build
echo "******************************************************************"
echo "* Configuring ${GCC}"
echo "******************************************************************"
cd build
echo "******************************************************************"
echo "* Configuring ${GCC}"
echo "******************************************************************"
-
#
../${GCC}/configure --target=${TARGET} \
-
#
--prefix=${PREFIX} \
-
#
--enable-interwork \
-
#
--enable-multilib \
-
#
--enable-languages="c,c++" \
-
#
--with-newlib \
-
#
--disable-shared \
-
#
--with-gnu-as \
-
#
--with-gnu-ld \
-
#
--disable-nls \
-
#
${GCCFLAGS} || exit
+ ../${GCC}/configure --target=${TARGET} \
+ --prefix=${PREFIX} \
+ --enable-interwork \
+ --enable-multilib \
+ --enable-languages="c,c++" \
+ --with-newlib \
+ --disable-shared \
+ --with-gnu-as \
+ --with-gnu-ld \
+
--disable-nls \
+ ${GCCFLAGS} || exit
echo "******************************************************************"
echo "* Building ${GCC}"
echo "******************************************************************"
echo "******************************************************************"
echo "* Building ${GCC}"
echo "******************************************************************"