Sources

The Tree of Radix and Third Party Sources

1388 Commits   0 Branches   11 Tags
author: kx <kx@radix.pro> 2021-05-17 09:56:16 +0300 committer: kx <kx@radix.pro> 2021-05-17 09:56:16 +0300 commit: 070d52e9a5db2d74d8eb4e387fe020b1f6e07637 parent: 5d6959420f80ed835b22ac3df85e444e7174abc4
Commit Summary:
Linux-5.10.37; GCC-11.1.0
Diffstat:
2 files changed, 29 insertions, 0 deletions
diff --git a/GNU/Makefile b/GNU/Makefile
index 588920f..9607897 100644
--- a/GNU/Makefile
+++ b/GNU/Makefile
@@ -57,6 +57,7 @@ SUBDIRS := EGLIBC/2.12.1       \
            gcc/gcc-9.3.0       \
            gcc/gcc-10.2.0      \
            gcc/gcc-10.3.0      \
+           gcc/gcc-11.1.0      \
            gdb                 \
            gdbm                \
            gettext             \
diff --git a/GNU/gcc/gcc-11.1.0/Makefile b/GNU/gcc/gcc-11.1.0/Makefile
new file mode 100644
index 0000000..1c6c8de
--- /dev/null
+++ b/GNU/gcc/gcc-11.1.0/Makefile
@@ -0,0 +1,37 @@
+#
+# Download: http://www.gnu.org/prep/ftp.html
+#
+# You can use the generic url http://ftpmirror.gnu.org 
+# to automatically choose a nearby and up-to-date mirror.
+#
+# original url: http://ftp.gnu.org/gnu/gcc/gcc-$(version)
+#
+
+url         = http://ftpmirror.gnu.org/gcc
+
+versions    = 11.1.0
+
+pkgname     = gcc
+suffix      = tar.xz
+
+tarballs    = $(addsuffix .$(suffix), $(addprefix $(pkgname)-, $(versions)))
+sha1s       = $(addsuffix .sha1sum, $(tarballs))
+
+all: $(tarballs) $(sha1s)
+
+.PHONY: downloads_clean
+
+$(tarballs):
+	@echo -e "\n======= Downloading source tarballs =======\n"
+	@for version in $(versions) ; do \
+	  wget -N $(url)/gcc-$$version/gcc-$$version.$(suffix) ; \
+	done
+
+$(sha1s): %.$(suffix).sha1sum : %.$(suffix)
+	@for tarball in $< ; do \
+	  echo -e "\n======= Calculation '$$tarball' sha1sum =======\n" ; \
+	  sha1sum --binary $$tarball > $$tarball.sha1sum ; \
+	done
+
+downloads_clean:
+	@rm -rf $(tarballs) $(sha1s)