I'd like to debug DLDs. In the wiki, it is written
that DLDs can be compiled with "-g". But it is not
explained how to give the flag to mkoctfile.
mkoctfile -g file.cc does not work.
mkoctfile: unrecognized argument -g
any hint please?
eric.
-- quote --
Using gdb to debug your extensions
gdb can be used to debug DEFUN_DLD functions. There are N preliminary
steps one should during the compilations phase.
* compile all of the code with -g or -ggdb
[...]
-- quote --
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web:
http://www.octave.orgHow to fund new projects:
http://www.octave.org/funding.htmlSubscription information:
http://www.octave.org/archive.html-------------------------------------------------------------