should be fixed...

This commit is contained in:
Ohio2 2021-07-07 16:27:54 +02:00
parent 21325204e6
commit d7d75205d5
12 changed files with 44 additions and 36 deletions

View file

@ -1,6 +1,6 @@
wget -O ${temp_location}/binutils/binutils.tar.xz https://ftp.gnu.org/gnu/binutils/binutils-2.36.1.tar.xz wget -O binutils-2.36.1.tar.xz https://ftp.gnu.org/gnu/binutils/binutils-2.36.1.tar.xz
tar -xf ${temp_location}/binutils/binutils.tar.xz tar -xf binutils-2.36.1.tar.xz
cd ${temp_location}/biinutils/binutils cd binutils-2.36.1
chmod +x makeinfo chmod +x makeinfo
export PATH=$PATH:$PWD export PATH=$PATH:$PWD
./configure \ ./configure \

View file

@ -1,6 +1,6 @@
wget -O ${temp_location}/busybox/busybox.tar.bz2 https://busybox.net/downloads/busybox-1.33.1.tar.bz2 wget -O busybox-1.33.1.tar.bz2 https://busybox.net/downloads/busybox-1.33.1.tar.bz2
tar -xf ${temp_location}/busybox/busybox.tar.bz2 tar -xf busybox-1.33.1.tar.bz2
cd ${temp_location}/busybox cd busybox
make defconfig make defconfig
LDFLAGS="--static" make LDFLAGS="--static" make
make install DESTDIR="$1" make install DESTDIR="$1"

View file

@ -1,6 +1,6 @@
wget -O ${temp_location}/bzip2/bzip2.tar.gz https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz wget -O bzip2-1.0.8.tar.gz https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz
tar -xf ${temp_location}/bzip2/bzip2.tar.gz tar -xf bzip2-1.0.8.tar.gz
cd ${temp_location}/bzip2/bzip2 cd bzip2-1.0.8
make CC="${CC:-cc} $CFLAGS -fPIC $LDFLAGS" -f Makefile-libbz2_so make CC="${CC:-cc} $CFLAGS -fPIC $LDFLAGS" -f Makefile-libbz2_so
make CC="${CC:-cc} $CFLAGS -static -fPIC $LDFLAGS" bzip2 make CC="${CC:-cc} $CFLAGS -static -fPIC $LDFLAGS" bzip2
mkdir -p "$1/usr/bin" "$1/usr/lib" "$1/usr/share/man/man1" "$1/usr/include" mkdir -p "$1/usr/bin" "$1/usr/lib" "$1/usr/share/man/man1" "$1/usr/include"

View file

@ -1,6 +1,12 @@
wget -O ${temp_location}/gcc/gcc.tar.gz wget -O gcc-11.1.0.tar.gz https://gcc.gnu.org/pub/gcc/releases/gcc-11.1.0/gcc-11.1.0.tar.xz
tar -xf ${temp_location}/gcc/gcc.tar.gz tar -xf gcc-11.1.0.tar.gz
cd ${temp_location}/gcc/gcc cd gcc-11.1.0
wget https://ftp.gnu.org/gnu/gmp/gmp-6.2.1.tar.xz
wget https://ftp.gnu.org/gnu/mpfr/mpfr-4.1.0.tar.xz
wget https://ftp.gnu.org/gnu/mpc/mpc-1.2.1.tar.gz
tar -xf gmp-6.2.1.tar.xz
tar -xf mpfr-4.1.0.tar.xz
tar -xf mpc-1.2.1.tar.gz
sed -i '/m64=/s/lib64/lib/' gcc/gcc/config/i386/t-linux64 sed -i '/m64=/s/lib64/lib/' gcc/gcc/config/i386/t-linux64
sed -i 's/lib64/lib/' gcc/gcc/config/i386/linux64.h sed -i 's/lib64/lib/' gcc/gcc/config/i386/linux64.h
mkdir build mkdir build
@ -9,5 +15,7 @@ cd build
make make
make install DESTDIR="$1" make install DESTDIR="$1"
ln -s gcc "$1/usr/bin/cc" ln -s gcc "$1/usr/bin/cc"
install -Dm755 ../c99 "$1/usr/bin/c99" echo "#!/bin/sh" > "$1"/usr/bin/c99
echo "exec cc -std=c99 "$@"" >> "$1"/usr/bin/c99
chmod +x "$1"/usr/bin/c99

View file

@ -1,6 +1,6 @@
wget -O ${temp_location}/git/git.tar.xz https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.9.5.tar.xz wget https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.9.5.tar.xz
tar -xf ${temp_location}/git/git.tar.xz tar -xf git-2.9.5.tar.xz
cd ${temp_location}/git/git cd git-2.9.5
./configure --prefix=/usr ./configure --prefix=/usr
make make
make install DESTDIR="$1" make install DESTDIR="$1"

View file

@ -1,6 +1,6 @@
wget -O ${temp_location}/glibc/glibc.tar.gz https://ftp.gnu.org/gnu/libc/glibc-2.33.tar.gz wget https://ftp.gnu.org/gnu/libc/glibc-2.33.tar.gz
tar -xf ${temp_location}/glibc/glibc.tar.gz tar -xf glibc-2.33.tar.gz
cd ${temp_location}/glibc/glibc cd glibc-2.33
mkdir build mkdir build
cd build cd build
../configure --prefix=/usr ../configure --prefix=/usr

View file

@ -1,6 +1,6 @@
wget -O ${temp_location}/gzip/gzip.tar.gz https://zlib.net/pigz/pigz-2.6.tar.gz wget https://zlib.net/pigz/pigz-2.6.tar.gz
tar -xf ${temp_location}/gzip/gzip.tar.gz tar -xf pigz-2.6.tar.gz
cd ${temp_location}/gzip/gzip cd pigz-2.6
make CC="${CC:-cc} -static" make CC="${CC:-cc} -static"
mkdir -p "$1/usr/bin" "$1/usr/share/man/man1" mkdir -p "$1/usr/bin" "$1/usr/share/man/man1"
cp -f pigz unpigz "$1/usr/bin" cp -f pigz unpigz "$1/usr/bin"

View file

@ -1,4 +1,4 @@
git clone https://github.com/Sweets/hummingbird ${temp_location}/hummingbird-build git clone https://github.com/Sweets/hummingbird hummingbird-build
cd ${temp_location}/hummingbird-build cd hummingbird-build
make make
make install DESTDIR=$1 make install DESTDIR=$1

View file

@ -1,6 +1,6 @@
wget -O ${temp_location}/make/make.tar.gz https://ftp.gnu.org/gnu/make/make-4.3.tar.gz wget https://ftp.gnu.org/gnu/make/make-4.3.tar.gz
untar -xf ${temp_location}/make/make.tar.gz untar -xf make-4.3.tar.gz
cd ${temp_location}/make/make cd make-4.3
export CFLAGS="$CFLAGS -static" export CFLAGS="$CFLAGS -static"
./configure --prefix=/usr ./configure --prefix=/usr
make make

View file

@ -1,6 +1,6 @@
wget -O ${temp_location}/openssl/openssl.tar.gz https://www.openssl.org/source/openssl-3.0.0-beta1.tar.gz wget https://www.openssl.org/source/openssl-3.0.0-beta1.tar.gz
tar -xf ${temp_location}/openssl/openssl.tar.gz tar -xf openssl-3.0.0-beta1.tar.gz
cd ${temp_location}/openssl/openssl cd openssl-3.0.0-beta1
chmod +x ./config chmod +x ./config
./config --prefix="/usr" ./config --prefix="/usr"
make make

View file

@ -1,6 +1,6 @@
wget -O ${temp_location}/xz/xz.tar.gz https://tukaani.org/xz/xz-5.2.5.tar.gz wget https://tukaani.org/xz/xz-5.2.5.tar.gz
tar -xf ${temp_location}/xz/xz.tar.gz tar -xf xz-5.2.5.tar.gz
cd ${temp_location}/xz/xz cd xz-5.2.5
./configure --prefix=/usr --disable-nls ./configure --prefix=/usr --disable-nls
make make
make install DESTDIR="$1" make install DESTDIR="$1"

View file

@ -1,6 +1,6 @@
wget -O ${temp_location}/zlib/zlib.tar.gz https://zlib.net/zlib-1.2.11.tar.gz wget https://zlib.net/zlib-1.2.11.tar.gz
tar -xf ${temp_location}/zlib/zlib.tar.gz tar -xf zlib-1.2.11.tar.gz
cd ${temp_location}/zlib/zlib cd zlib-1.2.11
export CFLAGS="$CFLAGS -fPIC" export CFLAGS="$CFLAGS -fPIC"
./configure --prefix="$1" --lib-dir="/usr/lib" --shared ./configure --prefix="$1" --lib-dir="/usr/lib" --shared
make make