# HG changeset patch # User Christophe Lincoln # Date 1334235404 -7200 # Node ID 2345afe1479a74f9da117306a76c72ebc378200e # Parent 733f7b1b5b2af0bf65f026dc6b040938e2422704 Up: gcc (4.6.2) Our new compiler :-) diff -r 733f7b1b5b2a -r 2345afe1479a gcc-lib-base/receipt --- a/gcc-lib-base/receipt Thu Apr 12 14:40:48 2012 +0200 +++ b/gcc-lib-base/receipt Thu Apr 12 14:56:44 2012 +0200 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="gcc-lib-base" -VERSION="4.5.2" +VERSION="4.6.2" CATEGORY="development" SHORT_DESC="GCC base libraries, libgcc_s and libstdc++." WEB_SITE="http://gcc.gnu.org/" @@ -12,8 +12,8 @@ genpkg_rules() { mkdir -p $fs/usr/lib - cp -a $_pkg/usr/lib/libgcc_s.so* $fs/usr/lib - cp -a $_pkg/usr/lib/libstdc++.so* $fs/usr/lib + cp -a $install/usr/lib/libgcc_s.so* $fs/usr/lib + cp -a $install/usr/lib/libstdc++.so* $fs/usr/lib rm $fs/usr/lib/*-gdb.py } diff -r 733f7b1b5b2a -r 2345afe1479a gcc/receipt --- a/gcc/receipt Thu Apr 12 14:40:48 2012 +0200 +++ b/gcc/receipt Thu Apr 12 14:56:44 2012 +0200 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="gcc" -VERSION="4.5.2" +VERSION="4.6.2" CATEGORY="development" SHORT_DESC="The the GNU Compiler Collection." MAINTAINER="pankso@slitaz.org" @@ -119,7 +119,6 @@ { cd $src - # SliTaz is a Busybox based OS, why we so small and fast. Using gawk by # default to build package will not ensure package work with Busybox awk # and so should NOT be use to cook. @@ -133,8 +132,15 @@ [ "$3" == "--first-pass" ] && opt=$3 # Use libiberty.a from binutils. - sed -i 's/install_to_$(INSTALL_DEST) //' \ - libiberty/Makefile.in || return 1 + sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in || return 1 + + case $ARCH in + i?86) sed -i 's/^T_CFLAGS =$/& -fomit-frame-pointer/' \ + gcc/Makefile.in ;; + esac + + #sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in + mkdir -p ../gcc-build && cd ../gcc-build # This is the default GCC and we want a native build to cross compile after. @@ -183,18 +189,18 @@ genpkg_rules() { mkdir -p $fs/usr/share - cp -a $_pkg/usr/bin $fs/usr + cp -a $install/usr/bin $fs/usr # Copy all libs. Remove libgcc_s.so and libstdc++.so they goes in # the gcc-lib-base package. - cp -a $_pkg/usr/lib $fs/usr + cp -a $install/usr/lib $fs/usr rm -f $fs/usr/lib/libgcc_s.so* rm -f $fs/usr/lib/libstdc++.so* rm -f $fs/usr/lib/libgomp.so* rm -f $fs/usr/lib/libobjc.so* # Include files. - cp -a $_pkg/usr/include $fs/usr + cp -a $install/usr/include $fs/usr # Gfortran goes in gfortran package. rm -f $fs/usr/bin/*gfortran diff -r 733f7b1b5b2a -r 2345afe1479a gfortran/receipt --- a/gfortran/receipt Thu Apr 12 14:40:48 2012 +0200 +++ b/gfortran/receipt Thu Apr 12 14:56:44 2012 +0200 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="gfortran" -VERSION="4.5.2" +VERSION="4.6.2" CATEGORY="development" SHORT_DESC="GCC fortran extension." WEB_SITE="http://gcc.gnu.org/" @@ -13,10 +13,10 @@ genpkg_rules() { mkdir -p $fs/usr/lib/gcc/$HOST_SYSTEM/$VERSION $fs/usr/bin - cp -a $_pkg/usr/bin/*gfortran $fs/usr/bin - cp -a $_pkg/usr/lib/libgfortran*a $fs/usr/lib - cp -a $_pkg/usr/lib/gcc/$HOST_SYSTEM/$VERSION/f* \ + cp -a $install/usr/bin/*gfortran $fs/usr/bin + cp -a $install/usr/lib/libgfortran*a $fs/usr/lib + cp -a $install/usr/lib/gcc/$HOST_SYSTEM/$VERSION/f* \ $fs/usr/lib/gcc/$HOST_SYSTEM/$VERSION - cp -a $_pkg/usr/lib/gcc/$HOST_SYSTEM/$VERSION/libgfortran* \ + cp -a $install/usr/lib/gcc/$HOST_SYSTEM/$VERSION/libgfortran* \ $fs/usr/lib/gcc/$HOST_SYSTEM/$VERSION } diff -r 733f7b1b5b2a -r 2345afe1479a libgfortran/receipt --- a/libgfortran/receipt Thu Apr 12 14:40:48 2012 +0200 +++ b/libgfortran/receipt Thu Apr 12 14:56:44 2012 +0200 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="libgfortran" -VERSION="4.5.2" +VERSION="4.6.2" CATEGORY="misc" SHORT_DESC="GCC fortran runtime." WEB_SITE="http://gcc.gnu.org/" @@ -12,5 +12,5 @@ genpkg_rules() { mkdir -p $fs/usr/lib - cp -a $_pkg/usr/lib/libgfortran.so* $fs/usr/lib + cp -a $install/usr/lib/libgfortran.so* $fs/usr/lib } diff -r 733f7b1b5b2a -r 2345afe1479a libgomp/receipt --- a/libgomp/receipt Thu Apr 12 14:40:48 2012 +0200 +++ b/libgomp/receipt Thu Apr 12 14:56:44 2012 +0200 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="libgomp" -VERSION="4.5.2" +VERSION="4.6.2" CATEGORY="development" SHORT_DESC="API specification for parallel programming." MAINTAINER="pascal.bellard@slitaz.org" @@ -12,5 +12,5 @@ genpkg_rules() { mkdir -p $fs/usr/lib - cp -a $_pkg/usr/lib/libgomp.so* $fs/usr/lib + cp -a $install/usr/lib/libgomp.so* $fs/usr/lib } diff -r 733f7b1b5b2a -r 2345afe1479a libobjc/receipt --- a/libobjc/receipt Thu Apr 12 14:40:48 2012 +0200 +++ b/libobjc/receipt Thu Apr 12 14:56:44 2012 +0200 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="libobjc" -VERSION="4.5.2" +VERSION="4.6.2" CATEGORY="development" SHORT_DESC="API for gcc object" MAINTAINER="slaxemulator@gmail.com" @@ -13,6 +13,6 @@ genpkg_rules() { mkdir -p $fs/usr/lib - cp -a $_pkg/usr/lib/libobjc.so* $fs/usr/lib + cp -a $install/usr/lib/libobjc.so* $fs/usr/lib }