CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Bugs (
-   -   Minor compilation problem with Gcc42 (

schmidt_d May 9, 2007 12:39

OpenFOAM-1.4 on 32 bit Intel
OpenFOAM-1.4 on 32 bit Intel

Not sure if this really counts as a bug, but it might be worth fixing anyway.

If you set "$WM_COMPILER" = "Gcc42" (and I am using gcc4.2) and this is a 32 bit build, then wmake doesn't have a corresponding rules directory in the


It looks like you can just copy the rules from linuxGcc4 to linuxGcc42.

Are there special rules for GCC4.2 that are not backwardly compatible with GCC4.0 ? Just curious.

henry May 9, 2007 13:11

Yes what you have done is corr
Yes what you have done is correct. The reason we are not officially supporting gcc-4.2.0 is that it hasn't officially been released. I am now compiling and running with gcc version 4.2.0 20070317 (prerelease) and have not encountered any problems and the next version of OpenFOAM will be released compiled with gcc-4.2.?, whichever is the latest stable version at the time of release.


All times are GMT -4. The time now is 04:14.