[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gsrc-commit] trunk r8346: oh joy gcc 12.1
From: |
Carl Hansen |
Subject: |
[Gsrc-commit] trunk r8346: oh joy gcc 12.1 |
Date: |
Fri, 6 May 2022 19:42:42 -0400 (EDT) |
User-agent: |
Bazaar (2.7.0dev1) |
------------------------------------------------------------
revno: 8346
revision-id: carlhansen1234@gmail.com-20220506234237-hxlebqtmtobyh6uz
parent: carlhansen1234@gmail.com-20220506055300-0njqnwd5b00dtggm
committer: carlhansen1234@gmail.com
branch nick: trunk
timestamp: Fri 2022-05-06 16:42:37 -0700
message:
oh joy gcc 12.1
added:
pkg/gnu/gcc12/ gcc12-20220506234224-8rfv7nmip10udynx-1
pkg/gnu/gcc12/Makefile makefile-20220506234224-8rfv7nmip10udynx-4
pkg/gnu/gcc12/config.mk config.mk-20220506234224-8rfv7nmip10udynx-2
pkg/gnu/gcc12/gpg-keyring gpgkeyring-20220506234224-8rfv7nmip10udynx-3
pkg/gnu/gcc12/sha256sums sha256sums-20220506234224-8rfv7nmip10udynx-5
=== added directory 'pkg/gnu/gcc12'
=== added file 'pkg/gnu/gcc12/Makefile'
--- a/pkg/gnu/gcc12/Makefile 1970-01-01 00:00:00 +0000
+++ b/pkg/gnu/gcc12/Makefile 2022-05-06 23:42:37 +0000
@@ -0,0 +1,187 @@
+# Copyright ©2022 Carl Hansen <carlhansen@gnu.org>
+#
+# This file is part of GSRC, the GNU Source Release Collection.
+# http://www.gnu.org/software/gsrc
+#
+# GSRC is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# GSRC is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
+# License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with GSRC. If not, see <http://www.gnu.org/licenses/>.
+#
+#
+# Send bug reports and comments about GSRC problems to bug-gsrc@gnu.org
+
+NAME = The GNU Compiler Collection version 12
+GARNAME = gcc12
+UPSTREAMNAME = gcc
+GARVERSION = 12.1.0
+HOME_URL = http://www.gnu.org/software/gcc
+DESCRIPTION = GNU Compiler Collection 12
+define BLURB
+GCC is the GNU Compiler Collection 12. It provides compiler front-ends
+for several languages, including C, C++, Objective-C, Objective-C++,
+Fortran, Ada, D, Brig, and Go. It also includes runtime support libraries
+for these languages.
+endef
+
+######################################################################
+# https://ftp.gnu.org/gnu/gcc/gcc-12.1.0/gcc-12.1.0.tar.xz.sig
+#
+MASTER_SITES = $(MASTER_GNU)
+MASTER_SUBDIR = $(UPSTREAMNAME)/$(DISTNAME)/
+DISTNAME= $(UPSTREAMNAME)-$(GARVERSION)
+DISTFILES = $(DISTNAME).tar.xz
+SIGFILES = $(DISTNAME).tar.xz.sig
+
+#WORKSRC = $(WORKDIR)/gcc-$(GARVERSION)
+#WORKOBJ = $(WORKDIR)/gcc-$(GARVERSION).build
+
+#BUILD_SCRIPTS = compilers
+#links
+
+BUILDDEPS = # gmp mpfr mpc zlib
+LIBDEPS =
+INFO_FILES = \
+ cpp.info \
+ cppinternals.info \
+ gccgo.info \
+ gcc.info \
+ gccinstall.info \
+ gccint.info \
+ gdc.info \
+ gfc-internals.info \
+ gfortran.info \
+ gnat_rm.info \
+ gnat-style.info \
+ gnat_ugn.info \
+ libgomp.info \
+ libitm.info \
+ libquadmath.info
+
+
+
+# libiberty.info
+
+# BUG gccbrig.info gfc-internals.info not installing correctly yet
+#
+#
+
+######################################################################
+include ../../../gar/gar.lib/auto.mk
+include ../../../gar/gar.lib/info.mk
+include config.mk
+
+
+## Configuration options for gcc ##
+## Note: you must set up your environment (PATH, LDPATH, etc) to
+## include GSRC-installed packages in order to install gcc as
+## configured below. You can do this easily like so in Bash:
+## $ source $(your_gsrc_dir) setup.sh
+
+## adjust --enable-languages= to your liking; this is maximal.
+## gnat (ada) is a special case; requires a working ada compiler to
+## already be installed, the compiler you are using to compile the rest.
+
+# --enable-languages=c,c++,fortran,go,objc,obj-c++,ada,brig,d,jit \
+
+# jit requires --enable-host-shared
+# --enable-host-shared typically slows the rest of the compiler down by
+# a few %, so you must explicitly enable it.
+
+# If you want to build both the jit and the regular compiler, it is often
+# best to do this via two separate configure/builds, in separate
+# directories, to avoid imposing the performance cost of
+# --enable-host-shared on the regular compiler.
+
+#--enable-cloog-backend=isl \
+
+# note: at end --target=x86_64-linux-gnu
+# Many options at just what Debian ships with;
+# adjust as necessary.
+#
+
+CONFIGURE_ARGS = --prefix=$(prefix) \
+--program-suffix=-12 \
+--with-gmp=$(prefix) \
+--with-mpfr=$(prefix) \
+--with-mpc=$(prefix) \
+--with-target-bdw-gc=$(prefix) \
+--enable-checking=release \
+--enable-clocale=gnu \
+--enable-__cxa_atexit \
+--enable-default-pie \
+--enable-gnu-unique-object \
+--enable-gtk-cairo \
+--enable-host-shared \
+--enable-languages=c,c++,fortran,go,ada,d,jit,objc,obj-c++ \
+--enable-libmpx \
+--enable-libssp \
+--enable-libstdcxx-debug \
+--enable-libstdcxx-time=yes \
+--enable-linker-build-id \
+--enable-lto \
+--enable-multiarch \
+--disable-multilib \
+--enable-nls \
+--enable-objc-gc=auto \
+--enable-plugin \
+--enable-shared \
+--enable-threads=posix \
+--with-default-libstdcxx-abi=new \
+--libexecdir=$(prefix)/lib \
+--libdir=$(prefix)/lib \
+--with-abi=m64 \
+--without-included-gettext \
+--with-system-zlib \
+--with-target-system-zlib \
+--enable-offload-targets=nvptx-none \
+--without-cuda-driver \
+--with-tune=generic \
+--disable-vtable-verify \
+--enable-libada \
+--disable-werror
+
+# ada -m32 -m32x?
+
+#--enable-bootstrap \
+#--build=x86_64-linux-gnu \
+#--host=x86_64-linux-gnu \
+#--target=x86_64-linux-gnu
+
+# --with-arch-32=i686 \
+# enable-bootstrap might not be necessary, but it solves some problems
+# of building when not using recent gcc to build.
+
+# due to compile problems with gccgo
+#
+# adjust if needed. ad hoc
+
+#BUILD_ARGS = CFLAGS+="--save-temps -Wall -Wextra -fno-split-stack" \
+# CXXFLAGS+="--save-temps -Wall -Wextra -fno-split-stack" \
+# CPPFLAGS="-I. -I.. "
+ # still doesn't fix it
+BUILD_ARGS = CFLAGS+="--save-temps -Wall -Wextra " \
+ CXXFLAGS+="--save-temps -Wall -Wextra " \
+ CPPFLAGS="-I. -I.. "
+
+
+
+
+######################################################################
+.PHONY: checkall
+
+checkall:
+ cd $(WORKOBJ) && $(MAKE) -k check > checkall.output.txt 2>&1
+ echo checkall.output in file $(WORKOBJ)/checkall.output.txt
+ $(MAKECOOKIE)
+
+#install todo
+# ln -s gcc gnatgcc
=== added file 'pkg/gnu/gcc12/config.mk'
--- a/pkg/gnu/gcc12/config.mk 1970-01-01 00:00:00 +0000
+++ b/pkg/gnu/gcc12/config.mk 2022-05-06 23:42:37 +0000
@@ -0,0 +1,5 @@
+## Configuration options for gcc ##
+# see also CONFIGURE_ARGS and BUILD_ARGS in Makefile
+#
+CONFIGURE_OPTS +=
+BUILD_OPTS +=
=== added file 'pkg/gnu/gcc12/gpg-keyring'
Binary files a/pkg/gnu/gcc12/gpg-keyring 1970-01-01 00:00:00 +0000 and
b/pkg/gnu/gcc12/gpg-keyring 2022-05-06 23:42:37 +0000 differ
=== added file 'pkg/gnu/gcc12/sha256sums'
--- a/pkg/gnu/gcc12/sha256sums 1970-01-01 00:00:00 +0000
+++ b/pkg/gnu/gcc12/sha256sums 2022-05-06 23:42:37 +0000
@@ -0,0 +1,2 @@
+62fd634889f31c02b64af2c468f064b47ad1ca78411c45abe6ac4b5f8dd19c7b
download/gcc-12.1.0.tar.xz
+f5dba6de2221ea625acae85f97be9dcf550c8125f545372dbaf53e83ebcbeb0d
download/gcc-12.1.0.tar.xz.sig
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gsrc-commit] trunk r8346: oh joy gcc 12.1,
Carl Hansen <=