[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
compiling DLDs with "-g" ?
From: |
Eric Chassande-Mottin |
Subject: |
compiling DLDs with "-g" ? |
Date: |
Mon, 14 Nov 2005 13:57:28 +0100 (CET) |
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.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
- compiling DLDs with "-g" ?,
Eric Chassande-Mottin <=