Based on the [https:// mxe. cc/ MXE project] there is an [https:// hg. octave.org/ mxe-octave MXE -Octave] fork available to allow cross compiling Octave to various target systems.
=== Examples of compiling Octave for different platforms ===
* ''' Compiling for Windows''' # There is some further information for using mxe-octave to build an Windows installer here: [[Windows_Installer]].
MXE-Octave is really intended to be used to cross compile Octave along with all dependencies for Windows systems. It may also be used to do native builds on Windows if you have a minimal set of MinGW tools installed, or to do native builds on Linux systems. However, it was really only intended as a way to build Octave on systems that lack sufficiently recent versions of tools and libraries to build Octave. '''For systems that provide packages of recent versions of GCC and required build dependencies, MXE-Octave is NOT the best choice for building Octave.'''
* '''Compiling for your Linux system'''