296
edits
(→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>autoconf</code> | ||
# <code>./configure</code> | # <code>./configure</code> | ||
# <code> make nsis-installer </code> | # <code>make nsis-installer</code> | ||
=== | ===Tweaks=== | ||
* Use | * 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 | * 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== |
edits