Radix cross Linux 3pp sources

RcL sources – is a tree of Third Party and Radix source tarballs

423 Commits   0 Branches   0 Tags
author: kx <kx@radix.pro> 2024-09-04 10:30:31 +0300 committer: kx <kx@radix.pro> 2024-09-04 10:30:31 +0300 commit: 0d72832f1cce49901091a542c154f81b83b6a015 parent: eefe5b0f2a8868ddc883af0eae23314092a44a31
Commit Summary:
GCC: 14.2.0
Diffstat:
2 files changed, 30 insertions, 1 deletion
diff --git a/GNU/gcc/Makefile b/GNU/gcc/Makefile
index 370dce4..27f74e5 100644
--- a/GNU/gcc/Makefile
+++ b/GNU/gcc/Makefile
@@ -38,7 +38,8 @@ SUBDIRS := gcc-2.95.3 \
            gcc-11.2.0 \
            gcc-11.3.0 \
            gcc-12.2.0 \
-           gcc-13.2.0
+           gcc-13.2.0 \
+           gcc-14.2.0
 
 
 all-recursive downloads_clean-recursive:
diff --git a/GNU/gcc/gcc-14.2.0/Makefile b/GNU/gcc/gcc-14.2.0/Makefile
new file mode 100644
index 0000000..e481ef7
--- /dev/null
+++ b/GNU/gcc/gcc-14.2.0/Makefile
@@ -0,0 +1,37 @@
+#
+# https://gcc.gnu.org
+#
+# You can use the generic url https://ftpmirror.gnu.org 
+# to automatically choose a nearby and up-to-date mirror.
+#
+# original url: https://ftp.gnu.org/gnu/gcc/gcc-$(version)
+#
+
+url         = https://ftp.gnu.org/gnu/gcc
+
+versions    = 14.2.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)