Editing MXE
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
[https://hg.octave.org/mxe-octave MXE-Octave] was forked 2012 from the [https://mxe.cc/ MXE project] and is useful | [https://hg.octave.org/mxe-octave MXE-Octave] was forked 2012 from the [https://mxe.cc/ MXE project] and is useful in the following scenarios<ref>[https://hg.octave.org/mxe-octave/file/6836b2f08479/README MXE-Octave README] text by [[User:jwe|jwe]].</ref>: | ||
# Cross-compilation for MS Windows (see also [[ | # 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 on outdated Linux systems (e.g. only an old GCC version is available). | ||
# Building Octave without root permission. | # Building Octave without root permission. | ||
Line 8: | Line 8: | ||
=== Example of compiling MXE-Octave === | === Example of compiling MXE-Octave === | ||
# [[Windows_Installer#Installing_requirements_of_MXE_Octave|Install all requirements of MXE Octave]]. | # [[Windows_Installer#Installing_requirements_of_MXE_Octave|Install all requirements of MXE Octave]]. | ||
# <code>hg clone https://hg.octave.org/mxe-octave/</code> | |||
# <code>hg clone https://hg.octave.org/mxe-octave | |||
# <code>cd mxe-octave</code> | # <code>cd mxe-octave</code> | ||
# <code>./bootstrap</code> | # <code>./bootstrap</code> | ||
# <code>./configure --enable-64 --enable-native-build --enable-pic-flag host_alias=gnu-linux --enable-openblas --enable-jit</code> | |||
# <code>make all openblas</code> | |||
</ | |||
<code>make | |||
# <code>cd ~/mxe-octave/usr/lib</code> | # <code>cd ~/mxe-octave/usr/lib</code> | ||
# <code>mv libblas.so libblas.so.reference</code> | # <code>mv libblas.so libblas.so.reference</code> | ||
# <code>ln -s libopenblas.so libblas.so</code> | # <code>ln -s libopenblas.so libblas.so</code> | ||
# MXE-Octave will exist in {{path|~/mxe-octave/usr/bin}} | # MXE-Octave will exist in {{path|~/mxe-octave/usr/bin}} | ||
# Add | # Add to your {{path|.bashrc}} file: <code>alias octave=~/mxe-octave-123456789/usr/bin/octave</code> | ||
=== | === Note for gnuplot === | ||
The gnuplot built by mxe-octave does not support cairo based terminals and lua/tikz terminals. | |||
If you want uses those feature, prepare gnuplot with those features and points its location setting to | |||
The gnuplot built by | "gnuplot_binary" like | ||
If you want uses those | |||
>> gnuplot_binary /usr/bin/gnuplot | >> gnuplot_binary /usr/bin/gnuplot | ||