Windows Installer: Difference between revisions

Jump to navigation Jump to search
no edit summary
m (Added the zip package. On Debian 8, even though bzip2 is installed the zip command will not work.)
No edit summary
Line 9: Line 9:
# <code>hg clone http://hg.octave.org/mxe-octave/</code>
# <code>hg clone http://hg.octave.org/mxe-octave/</code>
# <code>cd mxe-octave</code>
# <code>cd mxe-octave</code>
# Make sure MXE version of all compiler tools are found first in path
## <code>export PATH=$PWD/usr/bin:$PATH</code>  # for Bourne shell
## <code>setenv PATH $PWD/usr/bin:$PATH</code>  # for C shell
# <code>autoconf</code>
# <code>autoconf</code>
# <code>./configure</code>
# <code>./configure</code>
Line 19: Line 16:


* Use <code>make tar-dist</code> or <code>make zip-dist</code> instead of <code>nsis-installer</code> if you want to build just an archive of the files to install on Windows instead of an installer wizard.
* Use <code>make tar-dist</code> or <code>make zip-dist</code> instead of <code>nsis-installer</code> if you want to build just an archive of the files to install on Windows instead of an installer wizard.
* Use <code>make JOBS=4</code> if you have a multicore system to enable parallel build. '''Do not''' use <code>make -j4</code>.
* By default, packages will be built one at a time, but you may use <code>make JOBS=4</code> (choose a number other than 4 that is appropriate for your system) to build each package in parallel.  You may also combine this with the <code>-j</code> option for Make to build more than one package at a time, but be careful as using <code>make -j4 JOBS=-4</code> can result in as many as 16 jobs running at once.
* Use <code>./configure --disable-strip-dist-files</code> if you want to keep debug symbols in the installed binaries for debugging on Windows.
* Use <code>./configure --disable-strip-dist-files</code> if you want to keep debug symbols in the installed binaries for debugging on Windows.
* Include gdb in the installer by running <code>make gdb</code> before making the <code>nsis-installer</code> target.
* Include gdb in the installer by running <code>make gdb</code> before making the <code>nsis-installer</code> target.

Navigation menu