This is the front-page for the lists of (unofficial, see Disclaimer) instructions available on this project for compiling and cross-compiling OpenFOAM in Linux and other POSIX systems.
In the page Packages for Compiling you'll find a long list of packages necessary for (cross-)compiling OpenFOAM.
More instructions are yet to be written, but here can already be found:
Older instructions for cross-compiling are available at openfoamwiki.net, in the following pages: