Changes

Jump to navigation Jump to search

Windows Installer

334 bytes removed, 13 October
Remove redundant information. Use https.
==Steps to create Windows Installer==
 
===General steps===
# [http://wiki.octave.org/Windows_Installer#Installing_requirements_of_MXE_Octave Install all requirements of MXE Octave].
# <code>hg clone httphttps://hg.octave.org/mxe-octave/</code>
# <code>cd mxe-octave</code>
# <code>./bootstrap</code>
* <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>--with-ccache</code>: The usage of [https://ccache.dev/ ccache] may speed up repetitive compilation drastically.
Your author usually uses <code>JOBS=7</code>.
 
If you seriously want to work with gdb, also have --disable-strip-dist-files as configure option. However, in that case chances are that you cannot build an .exe installer anymore as it becomes too big for NSIS (that has a 2 GB installer file size limit) so instead of "make nsis-installer" you'll need to invoke
make zip-dist <options>
....and this results in all Octave dependencies being built in mxe-octave, plus (stable) Octave, plus an initial version of a binary Octave-Windows installer in the <mxe-octave build>/dist/ subdirectoy.
It can happen that you meet problems with Java. To build Octave with Java support built-in, mxe-octave needs:

Navigation menu