diff --git a/system/devel/gcc/actions.py b/system/devel/gcc/actions.py
index 621d786a..1608358b 100755
--- a/system/devel/gcc/actions.py
+++ b/system/devel/gcc/actions.py
@@ -50,6 +50,10 @@ def exportFlags():
shelltools.export("LC_ALL", "en_US.UTF-8")
def setup():
+ shelltools.cd("%s" % get.workDIR())
+ shelltools.move("gcc-*", "gcc-%s" % get.srcVERSION())
+ shelltools.cd("gcc-%s" % get.srcVERSION())
+
exportFlags()
# Maintainer mode off, do not force recreation of generated files
#shelltools.system("contrib/gcc_update --touch")
@@ -57,16 +61,15 @@ def setup():
pisitools.dosed("gcc/configure", "^(ac_cpp='\$CPP\s\$CPPFLAGS)", r"\1 -O2")
pisitools.dosed("libiberty/configure", "^(ac_cpp='\$CPP\s\$CPPFLAGS)", r"\1 -O2")
- shelltools.move("isl-0.21", "isl")
- shelltools.move("mpfr-4.1.0", "mpfr")
- shelltools.move("mpc-1.2.0", "mpc")
- shelltools.move("gmp-6.2.0", "gmp")
+ shelltools.move("../isl-0.21", "isl")
+ #shelltools.move("mpfr-4.1.0", "mpfr")
+ #shelltools.move("mpc-1.2.0", "mpc")
+ #shelltools.move("gmp-6.2.0", "gmp")
#shelltools.cd("../")
shelltools.makedirs("build")
shelltools.cd("build")
-
- #shelltools.system('.././gcc-%s/configure \
+
shelltools.system('../configure \
--prefix=/usr \
--bindir=/usr/bin \
@@ -77,7 +80,7 @@ def setup():
--infodir=/usr/share/info \
--with-bugurl=http://bugs.pisilinux.org \
--enable-languages=c,c++,fortran,lto,objc,obj-c++ \
- --disable-libgcj \
+ --enable-cet=auto \
--enable-shared \
--enable-threads=posix \
--with-system-zlib \
@@ -90,7 +93,6 @@ def setup():
--enable-linker-build-id \
--with-isl \
--enable-gnu-indirect-function \
- --disable-isl-version-check \
--enable-lto \
--enable-plugin \
--with-linker-hash-style=gnu \
@@ -100,7 +102,6 @@ def setup():
--build=%s \
%s \
%s ' % ( get.HOST(), opt_arch, opt_multilib))
- #verMajor
def build():
exportFlags()
diff --git a/system/devel/gcc/pspec.xml b/system/devel/gcc/pspec.xml
index 242eb968..c2ec853e 100755
--- a/system/devel/gcc/pspec.xml
+++ b/system/devel/gcc/pspec.xml
@@ -14,11 +14,11 @@
library
The GNU Compiler Collection, includes C, C++, Objective-C and Fortran compilers
The GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, as well as libraries for these languages
- http://ftp.gnu.org/gnu/gcc/gcc-10.2.0/gcc-10.2.0.tar.xz
- http://ftp.gnu.org/gnu/mpfr/mpfr-4.1.0.tar.xz
- http://ftp.gnu.org/gnu/mpc/mpc-1.2.0.tar.gz
- http://isl.gforge.inria.fr/isl-0.21.tar.bz2
- mirrors://gnu/gmp/gmp-6.2.0.tar.xz
+ ftp://gcc.gnu.org/pub/gcc/snapshots/LATEST-10/gcc-10-20201128.tar.xz
+
+
+ http://isl.gforge.inria.fr/isl-0.21.tar.bz2
+
binutils
bison
@@ -27,10 +27,14 @@
gnuconfig
patch
sed
- texinfo
+
elfutils
zlib-devel
gmp-devel
+
+ mpfr-devel
+ libmpc-devel
+
@@ -39,9 +43,9 @@
pisilinux/gcc_47_based-record_gcc_options.patch
- archlinux/fs64270.patch
- archlinux/ipa-fix-bit-CPP-when-combined-with-IPA-bit-CP.patch
- archlinux/ipa-fix-ICE-in-get_default_value.patch
+
+
+
@@ -130,6 +134,10 @@
gmp
zlib
+
+ mpfr
+ libmpc
+
/lib
@@ -148,6 +156,13 @@
+
+ 2020-12-03
+ 10.2.1
+ Version bump
+ Mustafa Cinasal
+ muscnsl@gmail.com
+
2020-10-21
10.2.0