mirror of
https://codeberg.org/kiss-community/repo
synced 2024-07-02 22:12:27 +00:00
gcc: unbundle gmp, libmpc, mpfr
This commit is contained in:
parent
d9b75dcb0b
commit
a8719fbdeb
|
@ -1,14 +1,10 @@
|
||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
# Make sure gmp is built with generic options.
|
|
||||||
cp gcc/gmp/configfsf.guess gcc/gmp/config.guess
|
|
||||||
cp gcc/gmp/configfsf.sub gcc/gmp/config.sub
|
|
||||||
|
|
||||||
# Use lib not lib64 by default.
|
# Use lib not lib64 by default.
|
||||||
sed '/m64=/s/lib64/lib/' gcc/gcc/config/i386/t-linux64 > _
|
sed '/m64=/s/lib64/lib/' gcc/config/i386/t-linux64 > _
|
||||||
mv -f _ gcc/gcc/config/i386/t-linux64
|
mv -f _ gcc/config/i386/t-linux64
|
||||||
sed 's/lib64/lib/' gcc/gcc/config/i386/linux64.h > _
|
sed 's/lib64/lib/' gcc/config/i386/linux64.h > _
|
||||||
mv -f _ gcc/gcc/config/i386/linux64.h
|
mv -f _ gcc/config/i386/linux64.h
|
||||||
|
|
||||||
# Build must happen outside of gcc source.
|
# Build must happen outside of gcc source.
|
||||||
mkdir -p gcc-build
|
mkdir -p gcc-build
|
||||||
|
@ -23,7 +19,7 @@ case $2 in "${gcc_version%%.*}"*)
|
||||||
bootstrap=--disable-bootstrap
|
bootstrap=--disable-bootstrap
|
||||||
esac
|
esac
|
||||||
|
|
||||||
../gcc/configure \
|
../configure \
|
||||||
libat_cv_have_ifunc=no \
|
libat_cv_have_ifunc=no \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--libexecdir=/usr/lib \
|
--libexecdir=/usr/lib \
|
||||||
|
|
|
@ -1,5 +1,2 @@
|
||||||
e549cf9cf3594a00e27b6589d4322d70e0720cdd213f39beb4181e06926230ff
|
e549cf9cf3594a00e27b6589d4322d70e0720cdd213f39beb4181e06926230ff
|
||||||
fd4829912cddd12f84181c3451cc752be224643e87fac497b69edddadc49b4f2
|
|
||||||
0c98a3f1732ff6ca4ea690552079da9c597872d30e96ec28414ee23c95558a7f
|
|
||||||
17503d2c395dfcf106b622dc142683c1199431d095367c6aacba6eec30340459
|
|
||||||
765614b3396d70bca3fa0ae4a813632486c6dca320e2bd13c8c39dca52be4a4c
|
765614b3396d70bca3fa0ae4a813632486c6dca320e2bd13c8c39dca52be4a4c
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
binutils
|
binutils
|
||||||
bison make
|
bison make
|
||||||
flex make
|
flex make
|
||||||
|
gmp
|
||||||
|
libmpc
|
||||||
|
mpfr
|
||||||
zlib
|
zlib
|
||||||
|
|
|
@ -1,5 +1,2 @@
|
||||||
https://gcc.gnu.org/pub/gcc/releases/gcc-VERSION/gcc-VERSION.tar.xz gcc
|
https://gcc.gnu.org/pub/gcc/releases/gcc-VERSION/gcc-VERSION.tar.xz
|
||||||
https://ftp.gnu.org/gnu/gmp/gmp-6.2.1.tar.xz gcc/gmp
|
|
||||||
https://ftp.gnu.org/gnu/mpfr/mpfr-4.1.0.tar.xz gcc/mpfr
|
|
||||||
https://ftp.gnu.org/gnu/mpc/mpc-1.2.1.tar.gz gcc/mpc
|
|
||||||
files/c99
|
files/c99
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
12.2.0 1
|
12.2.0 2
|
||||||
|
|
11
core/gmp/build
Executable file
11
core/gmp/build
Executable file
|
@ -0,0 +1,11 @@
|
||||||
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
./configure \
|
||||||
|
--prefix=/usr \
|
||||||
|
--localstatedir=/var/state/gmp \
|
||||||
|
--enable-cxx \
|
||||||
|
--enable-fat \
|
||||||
|
--with-pic
|
||||||
|
|
||||||
|
make
|
||||||
|
make DESTDIR="$1" install
|
1
core/gmp/checksums
Normal file
1
core/gmp/checksums
Normal file
|
@ -0,0 +1 @@
|
||||||
|
fd4829912cddd12f84181c3451cc752be224643e87fac497b69edddadc49b4f2
|
1
core/gmp/depends
Normal file
1
core/gmp/depends
Normal file
|
@ -0,0 +1 @@
|
||||||
|
m4 make
|
1
core/gmp/sources
Normal file
1
core/gmp/sources
Normal file
|
@ -0,0 +1 @@
|
||||||
|
https://gmplib.org/download/gmp/gmp-VERSION.tar.xz
|
1
core/gmp/version
Normal file
1
core/gmp/version
Normal file
|
@ -0,0 +1 @@
|
||||||
|
6.2.1 1
|
8
core/libmpc/build
Executable file
8
core/libmpc/build
Executable file
|
@ -0,0 +1,8 @@
|
||||||
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
./configure \
|
||||||
|
--prefix=/usr \
|
||||||
|
--enable-shared
|
||||||
|
|
||||||
|
make
|
||||||
|
make DESTDIR="$1" install
|
1
core/libmpc/checksums
Normal file
1
core/libmpc/checksums
Normal file
|
@ -0,0 +1 @@
|
||||||
|
17503d2c395dfcf106b622dc142683c1199431d095367c6aacba6eec30340459
|
1
core/libmpc/depends
Normal file
1
core/libmpc/depends
Normal file
|
@ -0,0 +1 @@
|
||||||
|
mpfr
|
1
core/libmpc/sources
Normal file
1
core/libmpc/sources
Normal file
|
@ -0,0 +1 @@
|
||||||
|
https://ftp.gnu.org/gnu/mpc/mpc-VERSION.tar.gz
|
1
core/libmpc/version
Normal file
1
core/libmpc/version
Normal file
|
@ -0,0 +1 @@
|
||||||
|
1.2.1 1
|
9
core/mpfr/build
Executable file
9
core/mpfr/build
Executable file
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
./configure \
|
||||||
|
--prefix=/usr \
|
||||||
|
--enable-shared \
|
||||||
|
--enable-thread-safe
|
||||||
|
|
||||||
|
make
|
||||||
|
make DESTDIR="$1" install
|
1
core/mpfr/checksums
Normal file
1
core/mpfr/checksums
Normal file
|
@ -0,0 +1 @@
|
||||||
|
0c98a3f1732ff6ca4ea690552079da9c597872d30e96ec28414ee23c95558a7f
|
1
core/mpfr/depends
Normal file
1
core/mpfr/depends
Normal file
|
@ -0,0 +1 @@
|
||||||
|
gmp
|
1
core/mpfr/sources
Normal file
1
core/mpfr/sources
Normal file
|
@ -0,0 +1 @@
|
||||||
|
https://www.mpfr.org/mpfr-current/mpfr-VERSION.tar.xz
|
1
core/mpfr/version
Normal file
1
core/mpfr/version
Normal file
|
@ -0,0 +1 @@
|
||||||
|
4.1.0 1
|
Loading…
Reference in New Issue
Block a user