gsrc-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gsrc-commit] trunk r6504: update gcc10 to 10-20190505


From: Carl Hansen
Subject: [Gsrc-commit] trunk r6504: update gcc10 to 10-20190505
Date: Mon, 6 May 2019 01:08:58 -0400 (EDT)
User-agent: Bazaar (2.7.0dev1)

------------------------------------------------------------
revno: 6504
revision-id: address@hidden
parent: address@hidden
committer: address@hidden
branch nick: trunk
timestamp: Sun 2019-05-05 22:08:54 -0700
message:
  update gcc10 to 10-20190505
added:
  pkg/gnualpha/gcc10/            gcc10-20190506050828-2enxreepw1xsv1i3-1
  pkg/gnualpha/gcc10/Makefile    makefile-20190506050828-2enxreepw1xsv1i3-3
  pkg/gnualpha/gcc10/config.mk   config.mk-20190506050828-2enxreepw1xsv1i3-2
  pkg/gnualpha/gcc10/sha256sums  sha256sums-20190506050828-2enxreepw1xsv1i3-4
=== added directory 'pkg/gnualpha/gcc10'
=== added file 'pkg/gnualpha/gcc10/Makefile'
--- a/pkg/gnualpha/gcc10/Makefile       1970-01-01 00:00:00 +0000
+++ b/pkg/gnualpha/gcc10/Makefile       2019-05-06 05:08:54 +0000
@@ -0,0 +1,116 @@
+# Copyright ©2019 Carl Hansen <address@hidden>
+#
+# 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 address@hidden
+
+NAME = The GNU Compiler Collection version 10
+GARNAME = gcc10
+UPSTREAMNAME = gcc
+GARVERSION = 10-20190505
+HOME_URL = http://www.gnu.org/software/gcc
+DESCRIPTION = GNU Compiler Collection alpha version  10
+define BLURB
+GCC is the GNU Compiler Collection 10.  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
+
+# if downloading not working, look here:
+# ftp://gcc.gnu.org/pub/gcc/snapshots/
+
+
+######################################################################
+
+MASTER_SITES = ftp://gcc.gnu.org/
+MASTER_SUBDIR = pub/gcc/snapshots/$(GARVERSION)/
+#MASTER_SITES = $(MASTER_GNU)
+#MASTER_SUBDIR = $(GARNAME)/$(DISTNAME)/
+DISTNAME= $(UPSTREAMNAME)-$(GARVERSION)
+DISTFILES = $(DISTNAME).tar.xz 
+SIGFILES =
+
+WORKSRC = $(WORKDIR)/gcc-$(GARVERSION)
+WORKOBJ = $(WORKDIR)/gcc-$(GARVERSION).build
+
+BUILD_SCRIPTS = docompilers
+
+BUILDDEPS = gmp mpfr mpc zlib
+LIBDEPS = 
+
+######################################################################
+include ../../../gar/gar.lib/auto.mk
+include ../../../gar/gar.lib/info.mk
+include config.mk
+
+
+#links
+INFO_FILES =  \
+       cpp.info  \
+       cppinternals.info  \
+       gccbrig.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
+
+#USE_AUTORECONF=y
+
+######################################################################
+# adjust as necessary
+#LDFLAGS += -L/usr/lib/x86_64-linux-gnu
+#CPPFLAGS += -I/usr/include/x86_64-linux-gnu -I$(prefix)/include -isystem 
/usr/include/x86_64-linux-gnu
+#CFLAGS   += -I/usr/include/x86_64-linux-gnu -I$(prefix)/include -isystem 
/usr/include/x86_64-linux-gnu
+
+
+build-docompilers: 
+       cd $(WORKOBJ) && CFLAGS=-fno-split-stack $(MAKE) all
+       cd $(WORKOBJ)/libiberty/ $(MAKE)  info
+       $(MAKECOOKIE)
+
+# slightly imperfect, but it worked .... sometimes
+# a work-around for error message...
+#post-build: build
+#      #CFLAGS=-fno-split-stack $(MAKE) -C $(WORKOBJ)/ all
+#      $(MAKECOOKIE)
+
+#install-links: build
+##     @ln -sf gcc-9 $(packageprefix)/bin/cc
+#      @ln -sf ../bin/cpp $(packageprefix)/lib/cpp
+#      $(MAKECOOKIE)
+#
+#      gccfixer.sh
+
+checkall: build
+       cd $(WORKOBJ); $(MAKE) -k check 
+       $(MAKECOOKIE)
+
+

=== added file 'pkg/gnualpha/gcc10/config.mk'
--- a/pkg/gnualpha/gcc10/config.mk      1970-01-01 00:00:00 +0000
+++ b/pkg/gnualpha/gcc10/config.mk      2019-05-06 05:08:54 +0000
@@ -0,0 +1,78 @@
+## 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,jit,lto,objc,obj-c++,ada,brig
+
+# 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
+# adjust as necessary
+#
+#
+#CONFIGURE_ARGS += 
+
+CONFIGURE_OPTS = --program-suffix=-10 \
+--with-local-prefix=$(prefix) \
+--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-languages=c,c++,fortran,go,lto,objc,obj-c++,ada,brig,d  \
+--enable-libada \
+--enable-libmpx \
+--enable-libssp \
+--enable-libstdcxx-debug \
+--enable-libstdcxx-time=yes \
+--enable-linker-build-id \
+--enable-lto \
+--enable-multiarch \
+--enable-multilib  \
+--enable-nls \
+--enable-objc-gc=auto \
+--enable-plugin \
+--enable-shared \
+--enable-threads=posix \
+--with-abi=m64 \
+--with-default-libstdcxx-abi=new \
+--with-multilib-list=m32,m64,mx32 \
+--with-system-zlib \
+--with-target-system-zlib \
+--with-tune=generic \
+--enable-bootstrap \
+--build=x86_64-linux-gnu \
+--host=x86_64-linux-gnu \
+--target=x86_64-linux-gnu 
+
+
+# enable-bootstrap might not be necessary, but it solves some problems
+# of building when not using recent gcc to build.
+
+#CFLAGS+=-fno-split-stack  due to compile problems with gccgo
+BUILD_OPTS ?=  -Wall -Wextra  CFLAGS+=-fno-split-stack 
CPLUSFLAGS+=-fno-split-stack LIBS=-liconv
+
+#BUILD_OPTS ?= 
+
+

=== added file 'pkg/gnualpha/gcc10/sha256sums'
--- a/pkg/gnualpha/gcc10/sha256sums     1970-01-01 00:00:00 +0000
+++ b/pkg/gnualpha/gcc10/sha256sums     2019-05-06 05:08:54 +0000
@@ -0,0 +1,1 @@
+5ef4500a9e440fd9469dabd0a7d2ece133932c199573a70eae38af09b0940a3e  
download/gcc-10-20190505.tar.xz


reply via email to

[Prev in Thread] Current Thread [Next in Thread]