From bdf6fdc2b530366d6ca1c2a812d4b1d5ca8c21d2 Mon Sep 17 00:00:00 2001 From: "Tom G. Christensen" Date: Mon, 12 Jan 2004 10:21:32 +0000 Subject: [PATCH] gcc will now default to create code for the ultrasparc cpu using v8+ instruction set. Renamed the libstdc++ and libgcc packages. What matters for these two packages are the .so version of the libraries contained within. Therefore the .so version has been integrated in the packagename instead of the gcc version. --- gcc/build.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gcc/build.sh b/gcc/build.sh index 21492ff..2c1ce62 100755 --- a/gcc/build.sh +++ b/gcc/build.sh @@ -9,7 +9,7 @@ # Check the following 4 variables before running the script topdir=gcc version=3.3.2 -pkgver=1 +pkgver=2 source[0]=$topdir-$version.tar.bz2 ## If there are no patches, simply comment this #patch[0]= @@ -35,20 +35,20 @@ META_CLEAN="$META_CLEAN depend" # define helpervars to do that libgcc_stage=$BUILDPKG_BASE/$topdir/stage.libgcc gcc_dir=$prefix/gcc-$version -libgcc_pkgname="$pkgprefix""libgcc""$abbrev_ver" +libgcc_pkgname="$pkgprefix""libgccso1" libgcc_name="libgcc - GCC runtime support" libgcc_pkgcat="library" libgcc_pkgvendor="http://gcc.gnu.org" libgcc_pkgdesc="Runtime support for programs built with gcc 3.x" -libgcc_pkgver="1" +libgcc_pkgver="2" libstdc_stage=$BUILDPKG_BASE/$topdir/stage.libstdc -libstdc_pkgname="$pkgprefix""libstdc""$abbrev_ver" +libstdc_pkgname="$pkgprefix""libstdcso5" libstdc_name="libstdc++ - GCC runtime support" libstdc_pkgcat="library" libstdc_pkgvendor="http://gcc.gnu.org" libstdc_pkgdesc="Runtime support for c++ programs built with gcc $version" -libstdc_pkgver="1" +libstdc_pkgver="2" MV=/usr/bin/mv CP=/usr/bin/cp @@ -72,7 +72,7 @@ build() { $MKDIR "$objdir" setdir "$objdir" - $srcdir/$topsrcdir/configure --prefix=/usr/local/gcc-$version --disable-nls --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --with-system-zlib --enable-languages=c,c++ + $srcdir/$topsrcdir/configure --prefix=/usr/local/gcc-$version --disable-nls --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --with-system-zlib --enable-languages=c,c++ --with-cpu=ultrasparc $MAKE_PROG }