Update danio_gcc.sh
This commit is contained in:
+2
-2
@@ -17,7 +17,7 @@ esac
|
|||||||
|
|
||||||
#### JEŚLI BĘDĄ NOWE WERSJE BINUTILS'A i GCC PROSZĘ ZMIENIĆ NUMER!!!
|
#### JEŚLI BĘDĄ NOWE WERSJE BINUTILS'A i GCC PROSZĘ ZMIENIĆ NUMER!!!
|
||||||
export binutils_version="2.31.1" #TU ZMIENIAMY!
|
export binutils_version="2.31.1" #TU ZMIENIAMY!
|
||||||
export newlib_version="3.0.0" #TU ZMIENIAMY!
|
export newlib_version="3.0.0.20180831" #TU ZMIENIAMY!
|
||||||
export gcc_version="LATEST-9" #TU ZMIENIAMY!
|
export gcc_version="LATEST-9" #TU ZMIENIAMY!
|
||||||
export nproc=$(( `grep -c "processor" /proc/cpuinfo` * 2 ))
|
export nproc=$(( `grep -c "processor" /proc/cpuinfo` * 2 ))
|
||||||
export binutils_ext="tar.xz" #TU POD ŻADNYM POZOREM NIE ZMIENIAJ TYPU!!!!!
|
export binutils_ext="tar.xz" #TU POD ŻADNYM POZOREM NIE ZMIENIAJ TYPU!!!!!
|
||||||
@@ -70,7 +70,7 @@ fi
|
|||||||
if ! (
|
if ! (
|
||||||
(cd gcc-*; contrib/download_prerequisites; ln -svf ../newlib-${newlib_version}/newlib newlib; ln -svf ../newlib-${newlib_version}/libgloss libgloss)
|
(cd gcc-*; contrib/download_prerequisites; ln -svf ../newlib-${newlib_version}/newlib newlib; ln -svf ../newlib-${newlib_version}/libgloss libgloss)
|
||||||
mkdir -pv build-gcc
|
mkdir -pv build-gcc
|
||||||
(cd build-gcc; ../gcc-*/configure --target="${TARGET}" --prefix="${PREFIX}" --disable-lto --disable-nls --disable-werror --enable-languages=c,c++ --with-pkgversion="*DANiO* T00LCHAIN" --with-system-zlib --enable-obsolete --with-newlib --enable-multilib --enable-multiarch --enable-targets=all --disable-shared --enable-static)
|
(cd build-gcc; ../gcc-*/configure --target="${TARGET}" --prefix="${PREFIX}" --disable-lto --disable-nls --disable-werror --enable-languages=c,c++ --with-pkgversion="*DANiO* T00LCHAIN" --with-system-zlib --enable-obsolete --with-newlib --enable-multilib --enable-multiarch --enable-targets=all --disable-shared --enable-static --with-dwarf2)
|
||||||
)
|
)
|
||||||
then
|
then
|
||||||
echo "STAGE=${TARGET}" > .error
|
echo "STAGE=${TARGET}" > .error
|
||||||
|
|||||||
Reference in New Issue
Block a user