mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Corrected for gcc-4.3.1
This commit is contained in:
2
README
2
README
@ -105,7 +105,7 @@
|
|||||||
|
|
||||||
If you cannot find an appropriate binary pack for your platform, you can
|
If you cannot find an appropriate binary pack for your platform, you can
|
||||||
build the complete OpenFOAM from the source-pack. First you will need to
|
build the complete OpenFOAM from the source-pack. First you will need to
|
||||||
compile or obtain a recent version of gcc (we recomend gcc-4.2.?) for
|
compile or obtain a recent version of gcc (we recomend gcc-4.3.?) for
|
||||||
your platform, which may be obtained from http://gcc.gnu.org/.
|
your platform, which may be obtained from http://gcc.gnu.org/.
|
||||||
|
|
||||||
Install the compiler in
|
Install the compiler in
|
||||||
|
|||||||
@ -88,11 +88,11 @@ set WM_COMPILER_INST=OpenFOAM
|
|||||||
switch ("$WM_COMPILER_INST")
|
switch ("$WM_COMPILER_INST")
|
||||||
case OpenFOAM:
|
case OpenFOAM:
|
||||||
switch ("$WM_COMPILER")
|
switch ("$WM_COMPILER")
|
||||||
case Gcc43:
|
|
||||||
setenv WM_COMPILER_DIR $WM_THIRD_PARTY_DIR/gcc-4.3.0/platforms/$WM_ARCH$WM_COMPILER_ARCH
|
|
||||||
breaksw
|
|
||||||
case Gcc:
|
case Gcc:
|
||||||
setenv WM_COMPILER_DIR $WM_THIRD_PARTY_DIR/gcc-4.2.2/platforms/$WM_ARCH$WM_COMPILER_ARCH
|
setenv WM_COMPILER_DIR $WM_THIRD_PARTY_DIR/gcc-4.3.1/platforms/$WM_ARCH$WM_COMPILER_ARCH
|
||||||
|
breaksw
|
||||||
|
case Gcc42:
|
||||||
|
setenv WM_COMPILER_DIR $WM_THIRD_PARTY_DIR/gcc-4.2.4/platforms/$WM_ARCH$WM_COMPILER_ARCH
|
||||||
breaksw
|
breaksw
|
||||||
endsw
|
endsw
|
||||||
|
|
||||||
|
|||||||
@ -104,11 +104,11 @@ WM_COMPILER_INST=OpenFOAM
|
|||||||
case "$WM_COMPILER_INST" in
|
case "$WM_COMPILER_INST" in
|
||||||
OpenFOAM)
|
OpenFOAM)
|
||||||
case "$WM_COMPILER" in
|
case "$WM_COMPILER" in
|
||||||
Gcc43)
|
|
||||||
export WM_COMPILER_DIR=$WM_THIRD_PARTY_DIR/gcc-4.3.0/platforms/$WM_ARCH$WM_COMPILER_ARCH
|
|
||||||
;;
|
|
||||||
Gcc)
|
Gcc)
|
||||||
export WM_COMPILER_DIR=$WM_THIRD_PARTY_DIR/gcc-4.2.2/platforms/$WM_ARCH$WM_COMPILER_ARCH
|
export WM_COMPILER_DIR=$WM_THIRD_PARTY_DIR/gcc-4.3.1/platforms/$WM_ARCH$WM_COMPILER_ARCH
|
||||||
|
;;
|
||||||
|
Gcc42)
|
||||||
|
export WM_COMPILER_DIR=$WM_THIRD_PARTY_DIR/gcc-4.2.4/platforms/$WM_ARCH$WM_COMPILER_ARCH
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user