MXE: Difference between revisions

365 bytes removed ,  5 August 2019
Update introduction and motivation to use MXE-Octave.
(Strip empty headlines.)
(Update introduction and motivation to use MXE-Octave.)
Line 1: Line 1:
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.
[https://hg.octave.org/mxe-octave MXE-Octave] is based on the [https://mxe.cc/ MXE project] and is useful for the following scenarios:


=== Examples of compiling Octave for different platforms ===
# Cross-compilation for MS Windows (see also [[Windows_Installer]]) and other platforms.
# Building Octave on outdated Linux systems (e.g. only an old GCC version is available).
# Building Octave without root permission.


* '''Compiling for Windows'''
{{Warning|MXE-Octave is '''not''' the best choice for building Octave, if your system already provides recent versions of GCC and other required build dependencies.}}
# 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.
=== Examples of compiling Octave for different platforms ===
 
'''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'''
* '''Compiling for your Linux system'''