Windows Installer: Difference between revisions

Jump to navigation Jump to search
→‎Steps to create Windows Installer: move extra make targets to the tweaks section, minor markup cleanup
(→‎tweaks: add tips on debugging mxe-octave)
(→‎Steps to create Windows Installer: move extra make targets to the tweaks section, minor markup cleanup)
Line 10: Line 10:
# <code>cd mxe-octave</code>
# <code>cd mxe-octave</code>
# Make sure MXE version of all compiler tools are found first in path
# Make sure MXE version of all compiler tools are found first in path
## <code>PATH=`pwd`/usr/bin:$PATH</code>          # for Bourne shell
## <code>setenv PATH `pwd`/usr/bin:$PATH</code>  # for C shell
## <code>setenv PATH `pwd`/usr/bin:$PATH</code>  # for C shell
## <code>PATH=`pwd`/usr/bin:$PATH</code>          # for Bourne shell
# <code>autoconf</code>
<code>autoconf</code>
# <code>./configure</code>
# <code>./configure</code>
# <code> make nsis-installer </code> or <code> make tar-dist </code>  or <code> make zip-dist </code> (to get a compressed version).
# <code>make nsis-installer</code>


===tweaks===
===Tweaks===


* Use "make JOBS=4" if you have a multicore system to enable parallel build.'''Do not''' "make -j"
* 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>./configure --disable-strip-dist-files</code> if you want to keep debug symbols in the installed files for debugging on Windows
* Use <code>make JOBS=4</code> if you have a multicore system to enable parallel build. '''Do not''' use <code>make -j4</code>.
* Include gdb in the installer by running <code>make gdb</code> before making the <code>nsis-installer</code> target
* 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.


==Installing requirements of MXE Octave==
==Installing requirements of MXE Octave==
296

edits

Navigation menu