upd and patches

This commit is contained in:
2026-07-22 04:29:56 +03:00
parent 2be695fa6a
commit c6dcbc1ca5
90 changed files with 1688 additions and 91 deletions

View File

@ -1,10 +1,9 @@
gcc 15.2.0
gcc 15.3.0
=
https://ftp.gnu.org/gnu/gcc/gcc-15.2.0/gcc-15.2.0.tar.xz
https://ftp.gnu.org/gnu/gcc/gcc-15.3.0/gcc-15.3.0.tar.xz
``` sh *** patch ***
rg -l "/lib64/ld-linux-x86-64.so.2" ./ | xargs sed -i 's|/lib64/ld-linux-x86-64.so.2|/pkg/gnu/lib/ld-linux-x86-64.so.2|g'
rg -l "/lib64/ld-linux-x86-64.so.2" ./ | xargs sed -i 's|/lib64/ld-linux-x86-64.so.2|/pkg/gnu/glibc/lib/ld-linux-x86-64.so.2|g'
```
``` sh *** build ***
@ -13,11 +12,14 @@ cd build
../configure \
--prefix=/pkg/gnu/gcc \
--disable-multilib \
--enable-languages=c,c++ \
--disable-werror &&
--enable-languages=c,c++,fortran \
--disable-werror
make -j$(nproc)
make install
ln /pkg/gnu/gcc/bin/gcc /pkg/gnu/gcc/bin/cc
```
``` sh *** config ***
ln bin/gcc bin/cc
```
``` cfg *** build deps ***
@ -33,4 +35,5 @@ zlib
binutils
ripgrep
sed
findutils
```