gcc: update to 4.7.0.

This commit is contained in:
Juan RP 2012-03-30 12:40:29 +02:00
parent 8b8d13986e
commit 1ae94203ad
28 changed files with 44 additions and 30 deletions

View file

@ -7,7 +7,6 @@ long_desc="
On architectures with multilib support, the package contains files and
dependencies for the non-default multilib architecture(s)."
revision=1
noverifyrdeps=yes
Add_dependency run gcc-c++ ">=${_majorver}"

View file

@ -5,7 +5,6 @@ long_desc="${long_desc}
This package contains GCC C++ support."
revision=1
Add_dependency run libelf
Add_dependency run gcc ">=${_majorver}"

View file

@ -5,7 +5,6 @@ long_desc="${long_desc}
This package contains the GCC Fortran frontend."
revision=2
Add_dependency run gcc ">=${_majorver}"
Add_dependency run libgfortran-devel ">=${_majorver}"

View file

@ -5,7 +5,6 @@ long_desc="${long_desc}
This package contains the GCC Go frontend."
revision=1
Add_dependency run gcc ">=${_majorver}"
Add_dependency run libgo-devel ">=${_majorver}"

View file

@ -7,12 +7,12 @@ long_desc="
On architectures with multilib support, the package contains files and
dependencies for the non-default multilib architecture(s)."
revision=1
noverifyrdeps=yes
Add_dependency run gcc ">=${_majorver}"
Add_dependency run libgcc32 ">=${_majorver}"
Add_dependency run libgomp32 ">=${_majorver}"
Add_dependency run libitm32 ">=${_majorver}"
Add_dependency run zlib32
Add_dependency run glibc32-devel
@ -20,6 +20,6 @@ do_install() {
local libmddir="usr/lib/gcc/${_triplet}/${_majorver}"
vmove ${libmddir}/32 ${libmddir}
vmove "usr/lib32/libssp*.a" ${libmddir}/32
vmove "usr/lib32/libssp*.a" usr/lib32
vinstall host-${_triplet}/gcc/specs 644 ${libmddir}
}

View file

@ -5,7 +5,6 @@ long_desc="${long_desc}
This package contains GCC Objective-C++ support."
revision=1
Add_dependency run libelf
Add_dependency run gcc-c++ ">=${_majorver}"

View file

@ -8,7 +8,6 @@ long_desc="
On architectures with multilib support, the package contains files and
dependencies for the non-default multilib architecture(s)."
revision=1
noverifyrdeps=yes
Add_dependency run gcc-multilib ">=${_majorver}"

View file

@ -5,7 +5,6 @@ long_desc="${long_desc}
This package contains GCC Objective-C support."
revision=1
Add_dependency run libelf
Add_dependency run gcc ">=${_majorver}"

View file

@ -5,7 +5,6 @@ long_desc="${long_desc}
This package contains the GCC Fortran headers and static libraries."
revision=1
Add_dependency run libgfortran ">=${_majorver}"

View file

@ -1,3 +1,4 @@
libquadmath.so.0
libm.so.6
libc.so.6
libgcc_s.so.1

View file

@ -5,7 +5,6 @@ long_desc="${long_desc}
This package contains the GCC Fortran shared library."
revision=1
do_install() {
vmove "usr/lib/libgfortran.so*" usr/lib

View file

@ -5,7 +5,6 @@ long_desc="${long_desc}
This package contains the GCC Go headers and static libraries."
revision=1
Add_dependency run libgo ">=${_majorver}"

View file

@ -6,7 +6,6 @@ long_desc="${long_desc}
This package contains GCC OpenMP headers and static libraries
for OpenMP v3.0 support."
revision=1
Add_dependency run libgomp ">=${_majorver}"

View file

@ -6,7 +6,6 @@ long_desc="${long_desc}
This package contains GCC shared support library which is needed
for OpenMP v3.0 support."
revision=2
replaces="gcc>=4.6.3<4.6.3_3"
do_install() {

View file

@ -0,0 +1,3 @@
libgcc_s.so.1
libpthread.so.0
libc.so.6

View file

@ -0,0 +1,13 @@
# Template file for 'libitm'.
#
short_desc="GCC Transactional Memory support library"
long_desc="${long_desc}
This package contains GCC support for Transactional Memory, which is
used when C code is built with -fgnu-tm flag."
do_install() {
vmove "usr/lib/libitm.*" usr/lib
vmove usr/share/info/libitm.info usr/share/info
touch ${DESTDIR}/usr/share/info/dir
}

View file

@ -0,0 +1,15 @@
# Template file for 'libitm'.
#
short_desc="GCC Transactional Memory support library (32bit)"
long_desc="${long_desc}
This package contains GCC support for Transactional Memory, which is
used when C code is built with -fgnu-tm flag."
noverifyrdeps=yes
Add_dependency run libgcc32
do_install() {
vmove "usr/lib32/libitm*" usr/lib32
}

View file

@ -6,7 +6,6 @@ long_desc="${long_desc}
This package contains GCC mudflap headers and static libraries for
building mudflap-instrumented programs."
revision=1
Add_dependency run libmudflap ">=${_majorver}"

View file

@ -6,7 +6,6 @@ long_desc="${long_desc}
This package contains GCC shared support library which is needed
for mudflap support."
revision=1
do_install() {
vmove "usr/lib/libmudflap*.so*" usr/lib

View file

@ -6,7 +6,6 @@ long_desc="${long_desc}
This package contains GCC Objective-C headers and static libs, to
build Objective-C programs."
revision=1
Add_dependency run libobjc ">=${_majorver}"

View file

@ -6,7 +6,6 @@ long_desc="${long_desc}
This package contains GCC quadmath headers and static libraries for
building mudflap-instrumented programs."
revision=1
Add_dependency run libquadmath ">=${_majorver}"

View file

@ -5,7 +5,6 @@ long_desc="${long_desc}
This package contains the GCC quadmath shared library."
revision=1
do_install() {
vmove "usr/lib/libquadmath.so*" usr/lib

View file

@ -6,7 +6,6 @@ long_desc="${long_desc}
This package contains the Stack Smashing Protection development
files provided by GCC."
revision=1
Add_dependency run glibc-devel
Add_dependency run libssp ">=${_majorver}"

View file

@ -6,7 +6,6 @@ long_desc="${long_desc}
This package contains the Stack Smashing Protection shared library
provided by GCC."
revision=1
do_install() {
vmove "usr/lib/libssp.so*" usr/lib

View file

@ -6,7 +6,6 @@ long_desc="${long_desc}
This package contains GCC Header files and libraries for
C++ development."
revision=1
Add_dependency run libstdc++ ">=${_majorver}"

View file

@ -1,14 +1,13 @@
# Template build file for 'gcc'
pkgname=gcc
_majorver=4.6
version=${_majorver}.3
revision=3
_majorver=4.7
version=${_majorver}.0
distfiles="http://ftp.gnu.org/pub/gnu/gcc/gcc-$version/gcc-$version.tar.bz2"
short_desc="The GNU C Compiler"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://gcc.gnu.org"
license="GFDL-1.2, GPL-3, LGPL-2.1"
checksum=e8f5853d4eec2f5ebaf8a72ae4d53c436aacf98153b2499f8635b48c4718a093
checksum=a680083e016f656dab7acd45b9729912e70e71bbffcbf0e3e8aa1cccf19dc9a5
long_desc="
The GNU C Compiler, with support for building C code.
@ -16,9 +15,10 @@ long_desc="
for ObjectiveC++ install gcc-objc++, for Go install gcc-go,
for Fortran install gcc-fortran."
Add_dependency run libgomp ">=${_majorver}"
Add_dependency run binutils
Add_dependency run libelf
Add_dependency run libgomp ">=${_majorver}"
Add_dependency run libitm ">=${_majorver}"
Add_dependency run libssp-devel ">=${_majorver}"
Add_dependency build perl
@ -39,7 +39,7 @@ if [ "${XBPS_MACHINE}" = "x86_64" ]; then
subpackages="${subpackages} gcc-objc-multilib libgcc32 libgomp32"
subpackages="${subpackages} libmudflap32-devel libmudflap32"
subpackages="${subpackages} libobjc32 libssp32 libstdc++32-devel"
subpackages="${subpackages} libstdc++32"
subpackages="${subpackages} libstdc++32 libitm32"
_triplet="${XBPS_MACHINE}-unknown-linux-gnu"
else
@ -47,7 +47,7 @@ else
fi
subpackages="${subpackages} libgcc libgo libssp libssp-devel libstdc++ libstdc++-devel libgomp"
subpackages="${subpackages} libquadmath libquadmath-devel libgo-devel libgomp-devel"
subpackages="${subpackages} libquadmath libquadmath-devel libgo-devel libgomp-devel libitm"
subpackages="${subpackages} libmudflap libmudflap-devel libobjc libobjc-devel"
subpackages="${subpackages} libgfortran libgfortran-devel gcc-fortran"
subpackages="${subpackages} gcc-c++ gcc-objc gcc-objc++ gcc-go"
@ -58,7 +58,7 @@ do_configure() {
# Do not run fixincludes
sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in
CONFIG_SHELL=/bin/bash ./configure --libexecdir=/usr/lib \
./configure --libexecdir=/usr/lib \
--enable-clocale=gnu --disable-bootstrap --libdir=/usr/lib \
--enable-threads=posix --enable-__cxa_atexit --enable-multilib \
--enable-languages=c,c++,objc,obj-c++,fortran,go,lto --enable-tls \

1
srcpkgs/libitm Symbolic link
View file

@ -0,0 +1 @@
gcc

1
srcpkgs/libitm32 Symbolic link
View file

@ -0,0 +1 @@
gcc