Debugging Octave: Difference between revisions

m
→‎Preliminaries: --enable-bounds-check was deprecated by -enable-address-sanitizer-flags
m (→‎Preliminaries: --enable-bounds-check was deprecated by -enable-address-sanitizer-flags)
Line 5: Line 5:
mkdir dbg-octave
mkdir dbg-octave
cd dbg-octave
cd dbg-octave
/path/to/octave/source/configure FFLAGS=-g CFLAGS=-g CXXFLAGS=-g --enable-bounds-check --prefix=/opt/dbg-octave
/path/to/octave/source/configure FFLAGS=-g CFLAGS=-g CXXFLAGS=-g --enable-address-sanitizer-flags --prefix=/opt/dbg-octave
make # or make -jN where N is the number of CPU cores
make # or make -jN where N is the number of CPU cores
</syntaxhighlight>
</syntaxhighlight>
156

edits