Compare commits
3 commits
d511f1eeb0
...
2acff6b936
Author | SHA1 | Date | |
---|---|---|---|
2acff6b936 | |||
f47a33cb93 | |||
|
db64fdc9a9 |
10 changed files with 13 additions and 10 deletions
|
@ -1,5 +1,5 @@
|
||||||
wget -O binutils.tar.xz https://ftp.gnu.org/gnu/binutils/binutils-2.36.1.tar.xz
|
wget -O binutils.tar.xz https://ftp.gnu.org/gnu/binutils/binutils-2.36.1.tar.xz
|
||||||
tar -xf binutils.tar.xz
|
tar -xfJ binutils.tar.xz
|
||||||
cd binutils
|
cd binutils
|
||||||
chmod +x makeinfo
|
chmod +x makeinfo
|
||||||
export PATH=$PATH:$PWD
|
export PATH=$PATH:$PWD
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
wget -O bzip2.tar.gz https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz
|
wget -O bzip2.tar.gz https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz
|
||||||
tar -xf bzip2.tar.gz
|
tar -xfz bzip2.tar.gz
|
||||||
cd bzip2
|
cd bzip2
|
||||||
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
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
wget -O gcc.tar.gz
|
wget -O gcc.tar.gz
|
||||||
tar -xf gcc.tar.gz
|
tar -xfz gcc.tar.gz
|
||||||
cd gcc
|
cd gcc
|
||||||
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
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
wget -O git.tar.xz https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.9.5.tar.xz
|
wget -O git.tar.xz https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.9.5.tar.xz
|
||||||
tar -xf git.tar.xz
|
tar -xfJ git.tar.xz
|
||||||
cd git
|
cd git
|
||||||
./configure --prefix=/usr
|
./configure --prefix=/usr
|
||||||
make
|
make
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
wget -O glibc.tar.gz https://ftp.gnu.org/gnu/libc/glibc-2.33.tar.gz
|
wget -O glibc.tar.gz https://ftp.gnu.org/gnu/libc/glibc-2.33.tar.gz
|
||||||
tar -xf glibc.tar.gz
|
tar -xfz glibc.tar.gz
|
||||||
cd glibc
|
cd glibc
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
../configure --prefix=/usr
|
../configure --prefix=/usr
|
||||||
make
|
make
|
||||||
make install DESTDIR="$1"
|
make install DESTDIR="$1"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
wget -O gzip.tar.gz https://zlib.net/pigz/pigz-2.6.tar.gz
|
wget -O gzip.tar.gz https://zlib.net/pigz/pigz-2.6.tar.gz
|
||||||
tar -xf gzip.tar.gz
|
tar -xfz gzip.tar.gz
|
||||||
cd gzip
|
cd gzip
|
||||||
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"
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
wget -O make.tar.gz https://ftp.gnu.org/gnu/make/make-4.3.tar.gz
|
||||||
|
untar -xfz make.tar.gz
|
||||||
|
cd make
|
||||||
export CFLAGS="$CFLAGS -static"
|
export CFLAGS="$CFLAGS -static"
|
||||||
./configure --prefix=/usr
|
./configure --prefix=/usr
|
||||||
make
|
make
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
wget -O openssl.tar.gz https://www.openssl.org/source/openssl-3.0.0-beta1.tar.gz
|
wget -O openssl.tar.gz https://www.openssl.org/source/openssl-3.0.0-beta1.tar.gz
|
||||||
tar -xf openssl.tar.gz
|
tar -xfz openssl.tar.gz
|
||||||
cd openssl
|
cd openssl
|
||||||
chmod +x ./config
|
chmod +x ./config
|
||||||
./config --prefix="/usr"
|
./config --prefix="/usr"
|
||||||
|
|
2
xz/build
2
xz/build
|
@ -1,5 +1,5 @@
|
||||||
wget -O xz.tar.gz https://tukaani.org/xz/xz-5.2.5.tar.gz
|
wget -O xz.tar.gz https://tukaani.org/xz/xz-5.2.5.tar.gz
|
||||||
tar -xf xz.tar.gz
|
tar -xfJ xz.tar.gz
|
||||||
cd xz
|
cd xz
|
||||||
./configure --prefix=/usr --disable-nls
|
./configure --prefix=/usr --disable-nls
|
||||||
make
|
make
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
wget -O zlib.tar.gz https://zlib.net/zlib-1.2.11.tar.gz
|
wget -O zlib.tar.gz https://zlib.net/zlib-1.2.11.tar.gz
|
||||||
tar -xf zlib.tar.gz
|
tar -xfz zlib.tar.gz
|
||||||
cd zlib
|
cd zlib
|
||||||
export CFLAGS="$CFLAGS -fPIC"
|
export CFLAGS="$CFLAGS -fPIC"
|
||||||
./configure --prefix="$1" --lib-dir="/usr/lib" --shared
|
./configure --prefix="$1" --lib-dir="/usr/lib" --shared
|
||||||
|
|
Loading…
Reference in a new issue