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: Stefan Pofahl
Subject: Re: Octave Installer for Windows with Debug Option
Date: Tue, 9 Jun 2020 08:19:49 +0200

Hi,

here the status on the two objectives: a.) Debug via gdb b.) compile an octave-gui.exe including debug symbols

a)
I am working on it.
* I added 4 breakpoints
* Interrupted the gdb-terminal: c, ENTER
* Gave a command in octave-gui.exe
Strange thing there was no gdb.txt on the entire main drive c:\

b)
unfortunately the build crashed.
I used exactly the same commands Markus had proposed.
The problem seems to be that "CMAKE_MAKE_PROGRAM is not set."
Where should this be done?

--------------------------------------------------------------------------------------------------------------------
Failed to build package lapack!
------------------------------------------------------------
CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
CMake Error: CMAKE_Fortran_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
make[2]: *** [/home/spofahl/hg/mxe-octave/Makefile:940: build-only-lapack] Fehler 1
make[2]: Verzeichnis „/home/spofahl/hg/mxe-octave“ wird verlassen
real    0m2.232s
user    0m1.986s
sys     0m0.437s
----------------------------------------------------------------------------------------------------------------------

Regards,

Stefan


Regards,

Stefan


Am Sa., 6. Juni 2020 um 09:53 Uhr schrieb Markus Mützel <markus.muetzel@gmx.de>:
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


--
Stefan Pofahl
Zollgasse 5
8020 Graz
Österreich
Tel.: +43 (316) 33 2001

reply via email to

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