help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Octave Installer for Windows with Debug Option


From: Markus Mützel
Subject: Re: Octave Installer for Windows with Debug Option
Date: Sat, 6 Jun 2020 09:53:20 +0200

Am 06. Juni 2020 um 00:43 Uhr schrieb "Stefan Pofahl":
> Hi,
> 
> currently I try to debug octave-pythonic on a windows machine, see: 
> https://gitlab.com/mtmiller/octave-pythonic/-/issues/81
> and to do the job I am looking for an Octave Installer build with the 
> debug-option.
> The description to build the installer: 
> http://wiki.octave.org/Windows_Installer
> does not fit to what you downloading from the repository.
> 
> I guess I am not experienced enough to build the installer without a proper 
> description.
> Can someone provide an appropriate installer or a detailed step-by-step 
> description
> to do the job?
> 
> Regards,
> 
> Stefan
>

Hi Stefan,

Could you describe which problems you are facing?
The instruction on the wiki page you linked to do still apply afaict. But if 
you could point out what is missing, it can always be improved.

Some general notes: If you want a cross-build for Windows without stripping the 
debug symbol, it is not possible to create an installer (because of maximum 
size). I'd suggest to build a 7z tarball.

To cross-compile the latest release from a Linux box with debug symbols, I'd 
probably try these steps:
hg clone https://hg.octave.org/mxe-octave/ mxe-octave
cd mxe-octave
./bootstrap
./configure --enable-devel-tools --enable-windows-64 --enable-octave=release 
--enable-binary-packages --with-pkg-dir=../mxe-octave-pkg --with-ccache 
--disable-system-opengl --enable-qt5 --disable-strip-dist-files
make all 7z-dist JOBS=4


Note that cross-compiling the complete package will probably take several hours 
on decent hardware. And you'd need about 20 GiB free disc space (plus 
additional space for the compiler cache if you want to use ccache - which I'd 
highly recommend to speed up subsequent builds).

HTH,
Markus



reply via email to

[Prev in Thread] Current Thread [Next in Thread]