1,855
edits
(→Step 1: Prepare mxe-octave: Update and describe the configure options more verbose.) |
(Remove redundant information. Use https.) |
||
Line 5: | Line 5: | ||
==Steps to create Windows Installer== | ==Steps to create Windows Installer== | ||
===General steps=== | |||
# [http://wiki.octave.org/Windows_Installer#Installing_requirements_of_MXE_Octave Install all requirements of MXE Octave]. | # [http://wiki.octave.org/Windows_Installer#Installing_requirements_of_MXE_Octave Install all requirements of MXE Octave]. | ||
# <code>hg clone | # <code>hg clone https://hg.octave.org/mxe-octave</code> | ||
# <code>cd mxe-octave</code> | # <code>cd mxe-octave</code> | ||
# <code>./bootstrap</code> | # <code>./bootstrap</code> | ||
Line 76: | Line 78: | ||
* <code>--enable-devel-tools</code>: Include gdb and an MSYS shell in the binary. | * <code>--enable-devel-tools</code>: Include gdb and an MSYS shell in the binary. | ||
** If you seriously want to work with gdb, you need <code>--disable-strip-dist-files</code> as configure option, as well. This may result in problems, see the [[#Tweaks|Tweaks]] section. | |||
* <code>--enable-binary-packages</code>: Cross-compile binary modules in [[Octave Forge]] packages. This saves time when installing them once the installation runs on Microsoft Windows. | * <code>--enable-binary-packages</code>: Cross-compile binary modules in [[Octave Forge]] packages. This saves time when installing them once the installation runs on Microsoft Windows. | ||
* <code>--with-ccache</code>: The usage of [https://ccache.dev/ ccache] may speed up repetitive compilation drastically. | * <code>--with-ccache</code>: The usage of [https://ccache.dev/ ccache] may speed up repetitive compilation drastically. | ||
Line 89: | Line 92: | ||
Your author usually uses <code>JOBS=7</code>. | Your author usually uses <code>JOBS=7</code>. | ||
It can happen that you meet problems with Java. To build Octave with Java support built-in, mxe-octave needs: | It can happen that you meet problems with Java. To build Octave with Java support built-in, mxe-octave needs: |