Skip to content

Commit

Permalink
Bump binutils & gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
flavioc committed Sep 5, 2024
1 parent 472a234 commit 9b8f611
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 14 deletions.
9 changes: 0 additions & 9 deletions download-funcs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
. ./config.sh

BINUTILS_URL=https://ftp.gnu.org/gnu/binutils/$BINUTILS_PKG
GCC_URL=https://ftp.gnu.org/gnu/gcc/gcc-"$GCC_VERSION"/"$GCC_PKG"
FLEX_URL=https://github.com/westes/flex/releases/download/v$FLEX_VERSION/$FLEX_PKG
ZLIB_URL=http://zlib.net/"$ZLIB_PKG"
BZIP2_URL=https://sourceware.org/pub/bzip2/$BZIP2_PKG
Expand Down Expand Up @@ -181,14 +180,6 @@ download_glibc() {
cd ..
}

download_gcc() {
download $GCC_PKG $GCC_URL &&
if [ -d "$GCC_SRC" ]; then
return 0
fi
unpack zxf $GCC_PKG $GCC_SRC
}

download_sed() {
download $SED_PKG $SED_URL &&
if [ -d "$SED_SRC" ]; then
Expand Down
2 changes: 1 addition & 1 deletion download.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

mkdir -p $SOURCE &&
pushd $SOURCE &&
download_gcc &&
download_package $GCC_URL &&
download_package $BINUTILS_URL &&
download $FLEX_PKG $FLEX_URL &&
unpack zxf $FLEX_PKG $FLEX_SRC &&
Expand Down
9 changes: 7 additions & 2 deletions package-versions.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Package versions.
GCC_VERSION=14.1.0
FLEX_VERSION=2.6.4
ZLIB_VERSION=1.3.1
BZIP2_VERSION=1.0.8
Expand Down Expand Up @@ -107,11 +106,17 @@ GCRYPT_PKG=$GCRYPT_SRC.tar.bz2
GCRYPT_URL=https://gnupg.org/ftp/gcrypt/libgcrypt/$GCRYPT_PKG

# binutils
BINUTILS_VERSION=2.41
BINUTILS_VERSION=2.43
BINUTILS_SRC=binutils-$BINUTILS_VERSION
BINUTILS_PKG=$BINUTILS_SRC.tar.bz2
BINUTILS_URL=https://ftp.gnu.org/gnu/binutils/$BINUTILS_PKG

# GCC
GCC_VERSION=14.2.0
GCC_SRC=gcc-$GCC_VERSION
GCC_PKG=$GCC_SRC.tar.xz
GCC_URL=https://ftp.gnu.org/gnu/gcc/gcc-$GCC_VERSION/$GCC_PKG

# libtirpc
LIBTIRPC_VERSION=1.3.4
LIBTIRPC_SRC=libtirpc-$LIBTIRPC_VERSION
Expand Down
2 changes: 0 additions & 2 deletions vars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ fi

. ./package-versions.sh

GCC_SRC=gcc-"$GCC_VERSION"
GCC_PKG="$GCC_SRC".tar.gz
GNUMACH_SRC=gnumach
GNUMIG_SRC=mig
HURD_SRC=hurd
Expand Down

0 comments on commit 9b8f611

Please sign in to comment.