Working? toolchain

This commit is contained in:
Drew Galbraith 2023-06-13 20:17:07 -07:00
parent 43a9b93192
commit bd5cd5a011
3 changed files with 15 additions and 237 deletions

View file

@ -23,7 +23,7 @@ NEWLIB_NAME="newlib-$NEWLIB_VERSION"
NEWLIB_PKG="${NEWLIB_NAME}.tar.gz"
NEWLIB_BASE_URL="ftp://sourceware.org/pub/newlib"
GCC_VERSION="12.3.0"
GCC_VERSION="13.1.0"
GCC_NAME="gcc-$GCC_VERSION"
GCC_PKG="${GCC_NAME}.tar.xz"
GCC_BASE_URL="https://ftp.gnu.org/gnu/gcc"
@ -73,8 +73,7 @@ pushd "$TOOLCHAIN/build"
# skip building documentation
export ac_cv_prog_MAKEINFO=true
"$TOOLCHAIN"/srcs/$BINUTILS_NAME/configure \
--prefix=$SYSROOT/usr \
--exec-prefix=$PREFIX \
--prefix=$PREFIX \
--target="$TARGET" \
--with-sysroot="$SYSROOT" \
--enable-shared \