?mode=patch&uid=2010031217524055070
Open Patch: 2010031217524055070 (by clifford)
+ clifford
Votecheck 'core-relaxed': OK (clifford)
package/base/gcc/config-300.in
package/base/gcc/preconfig.in
Votecheck 'core-strong': OK (clifford)
package/base/gcc/config-300.in
package/base/gcc/gcc.conf
package/base/gcc/gcc.desc
package/base/gcc/preconfig.in
package/base/gcc/wrappers.in
Clifford Wolf:
	Udpated gcc43 (4.3.4) and added gcc44 (4.4.3)

Clifford Wolf:
	Udpated gcc43 (4.3.4) and added gcc44 (4.4.3)

diff --git a/package/base/gcc/config-300.in b/package/base/gcc/config-300.in
index a8da9fc..30cbc15 100644
--- package/base/gcc/config-300.in
+++ package/base/gcc/config-300.in
@@ -27,7 +27,7 @@ if pkgcheck "gcc=.*" X ; then
 				ROCKCFG_PKG_GCC_STACKPRO 0
 	include "package/*/*/subconfig-gcc.in"
 	
-	for gcc_version in 2 32 33 34 40 41 42 43; do
+	for gcc_version in 2 32 33 34 40 41 42 43 44; do
 	    if eval pkgcheck gcc=gcc${gcc_version} X; then
 		comment ' '
 		comment "--- gcc${gcc_version} options"
diff --git a/package/base/gcc/gcc.conf b/package/base/gcc/gcc.conf
index 7759cd4..904eb4e 100644
--- package/base/gcc/gcc.conf
+++ package/base/gcc/gcc.conf
@@ -169,6 +169,7 @@ elif [ $stagelevel -ge 2 ] ; then
 	for x in bin info man data ; do
 		mkdir -p $dummydir/inst_$x
 		eval "${x}dir=$dummydir/inst_$x"
+		var_append makeopt " " "${x}dir=/$prefix/$x"
 	done
 
 	# libstdc++ locales are not installed to the $datadir without this.
diff --git a/package/base/gcc/gcc.desc b/package/base/gcc/gcc.desc
index 175110e..7a959cb 100644
--- package/base/gcc/gcc.desc
+++ package/base/gcc/gcc.desc
@@ -86,8 +86,13 @@
 #endif
 
 #if xpkg == gcc43.*
-[V] 4.3.3
-[D] 1541702385 gcc-4.3.3.tar.bz2 ftp://gcc.gnu.org/pub/gcc/releases/gcc-4.3.3/
+[V] 4.3.4
+[D] 538592505 gcc-4.3.4.tar.bz2 ftp://gcc.gnu.org/pub/gcc/releases/gcc-4.3.4/
+#endif
+
+#if xpkg == gcc44.*
+[V] 4.4.3
+[D] 1151666306 gcc-4.4.3.tar.bz2 ftp://gcc.gnu.org/pub/gcc/releases/gcc-4.4.3/
 #endif
 
 [CD] <COPY> for x in $cachedir/*.cache; do cp $x $confdir/$pkg.cache; done
diff --git a/package/base/gcc/preconfig.in b/package/base/gcc/preconfig.in
index f60a782..a9a6b77 100644
--- package/base/gcc/preconfig.in
+++ package/base/gcc/preconfig.in
@@ -1,5 +1,5 @@
 #!/bin/bash
-for x in gcc2 gcc32 gcc33 gcc34 gcc40 gcc41 gcc42 gcc43; do
+for x in gcc2 gcc32 gcc33 gcc34 gcc40 gcc41 gcc42 gcc43 gcc44; do
 	pkgfork gcc $x
 	# GCC 2.x and 3.2.x cannot be used as the default C/C++ compilers because they
 	# don't support the --with-sysroot configure option.
diff --git a/package/base/gcc/wrappers.in b/package/base/gcc/wrappers.in
index fe11571..9f0e15c 100644
--- package/base/gcc/wrappers.in
+++ package/base/gcc/wrappers.in
@@ -42,15 +42,15 @@ gcc_build_wrapper() {
 	done
 }
 
-gcc_build_wrapper CC ${arch_target}-cc ${arch_target}-gcc{-2,-32,-33,-34,-40,-41,-42,-43,}
-gcc_build_wrapper CXX ${arch_target}-{g++,c++}{-2,-32,-33,-34,-40,-41,-42,-43,}
-gcc_build_wrapper KCC ${arch_target}-kcc{-2,-32,-33,-34,-40,-41,-42,-43,}
+gcc_build_wrapper CC ${arch_target}-cc ${arch_target}-gcc{-2,-32,-33,-34,-40,-41,-42,-43,-44,}
+gcc_build_wrapper CXX ${arch_target}-{g++,c++}{-2,-32,-33,-34,-40,-41,-42,-43,-44,}
+gcc_build_wrapper KCC ${arch_target}-kcc{-2,-32,-33,-34,-40,-41,-42,-43,-44,}
 
 if [ $stagelevel -ge 3 ]; then
-	gcc_build_wrapper CC  cc gcc{-2,-32,-33,-34,-40,-41,-42,-43,}
-	gcc_build_wrapper CXX {c,g}++{-2,-32,-33,-34,-40,-41,-42,-43,}
-	gcc_build_wrapper F77 {g,f}77{-2,-32,-33,-34,-40,-41,-42,-43,}
-	gcc_build_wrapper KCC kcc{-2,-32,-33,-34,-40,-41,-42,-43,}
+	gcc_build_wrapper CC  cc gcc{-2,-32,-33,-34,-40,-41,-42,-43,-44,}
+	gcc_build_wrapper CXX {c,g}++{-2,-32,-33,-34,-40,-41,-42,-43,-44,}
+	gcc_build_wrapper F77 {g,f}77{-2,-32,-33,-34,-40,-41,-42,-43,-44,}
+	gcc_build_wrapper KCC kcc{-2,-32,-33,-34,-40,-41,-42,-43,-44,}
 fi
 
 if [ $stagelevel -le 2 ]; then
-- 
1.6.2.1


[Download this patch]