Corrected handling of 32bit building on 64bit machines using the 64bit gcc

This commit is contained in:
henry 2008-06-04 12:04:32 +01:00
parent 4066b1fd9e
commit f2d95a4dff
2 changed files with 4 additions and 4 deletions

View File

@ -94,10 +94,10 @@ switch ("$WM_COMPILER_INST")
case OpenFOAM: case OpenFOAM:
switch ("$WM_COMPILER") switch ("$WM_COMPILER")
case Gcc43: case Gcc43:
setenv WM_COMPILER_DIR $thirdParty/gcc-4.3.0/platforms/$WM_ARCH setenv WM_COMPILER_DIR $thirdParty/gcc-4.3.0/platforms/$WM_ARCH$WM_COMPILER_ARCH
breaksw breaksw
case Gcc: case Gcc:
setenv WM_COMPILER_DIR $thirdParty/gcc-4.2.2/platforms/$WM_ARCH setenv WM_COMPILER_DIR $thirdParty/gcc-4.2.2/platforms/$WM_ARCH$WM_COMPILER_ARCH
breaksw breaksw
endsw endsw

View File

@ -106,10 +106,10 @@ case "$WM_COMPILER_INST" in
OpenFOAM) OpenFOAM)
case "$WM_COMPILER" in case "$WM_COMPILER" in
Gcc43) Gcc43)
export WM_COMPILER_DIR=$thirdParty/gcc-4.3.0/platforms/$WM_ARCH export WM_COMPILER_DIR=$thirdParty/gcc-4.3.0/platforms/$WM_ARCH$WM_COMPILER_ARCH
;; ;;
Gcc) Gcc)
export WM_COMPILER_DIR=$thirdParty/gcc-4.2.2/platforms/$WM_ARCH export WM_COMPILER_DIR=$thirdParty/gcc-4.2.2/platforms/$WM_ARCH$WM_COMPILER_ARCH
;; ;;
esac esac