diff --git a/ThirdParty/AllMake.stage1 b/ThirdParty/AllMake.stage1 index 3f71101db..0d18e55ca 100755 --- a/ThirdParty/AllMake.stage1 +++ b/ThirdParty/AllMake.stage1 @@ -90,6 +90,16 @@ echo ( rpm_make -p gcc-4.6.3 -s gcc-4.6.3.spec -u http://ftpmirror.gnu.org/gcc/gcc-4.6.3/gcc-4.6.3.tar.gz ) } +# Gcc 4.7.4 and companion libraries +# +[ ! -z "$WM_THIRD_PARTY_USE_GCC_474" ] && { + echo "Building gmp-5.0.5 mpfr-3.1.0 mpc-0.9 gcc-4.6.3" + ( rpm_make -p gmp-5.1.2 -s gmp-5.1.2.spec -u ftp://ftp.gnu.org/gnu/gmp/gmp-5.1.2.tar.bz2 ) + ( rpm_make -p mpfr-3.1.2 -s mpfr-3.1.2.spec -u ftp://ftp.gnu.org/gnu/mpfr/mpfr-3.1.2.tar.gz ) + ( rpm_make -p mpc-1.0.1 -s mpc-1.0.1.spec -u http://www.multiprecision.org/mpc/download/mpc-1.0.1.tar.gz ) + ( rpm_make -p gcc-4.7.4 -s gcc-4.7.4.spec -u ftp://ftp.gnu.org/gnu/gcc/gcc-4.7.4/gcc-4.7.4.tar.gz ) +} + # Gcc 4.8.4 and companion libraries # [ ! -z "$WM_THIRD_PARTY_USE_GCC_484" ] && { diff --git a/etc/prefs.csh-EXAMPLE b/etc/prefs.csh-EXAMPLE index 53aa16d49..dae4ed6a2 100644 --- a/etc/prefs.csh-EXAMPLE +++ b/etc/prefs.csh-EXAMPLE @@ -191,6 +191,7 @@ # For AllMake.stage1 #setenv WM_THIRD_PARTY_USE_GCC_492 1 #setenv WM_THIRD_PARTY_USE_GCC_484 1 +#setenv WM_THIRD_PARTY_USE_GCC_474 1 #setenv WM_THIRD_PARTY_USE_GCC_463 1 #setenv WM_THIRD_PARTY_USE_GCC_451 1 #setenv WM_THIRD_PARTY_USE_GCC_445 1 diff --git a/etc/prefs.sh-EXAMPLE b/etc/prefs.sh-EXAMPLE index a6897d035..44ff56546 100644 --- a/etc/prefs.sh-EXAMPLE +++ b/etc/prefs.sh-EXAMPLE @@ -201,6 +201,7 @@ export FOAM_VERBOSE=1 # For AllMake.stage1 #export WM_THIRD_PARTY_USE_GCC_492=1 #export WM_THIRD_PARTY_USE_GCC_484=1 +#export WM_THIRD_PARTY_USE_GCC_474=1 #export WM_THIRD_PARTY_USE_GCC_463=1 #export WM_THIRD_PARTY_USE_GCC_451=1 #export WM_THIRD_PARTY_USE_GCC_445=1