On Tue, Mar 14, 2006 at 08:34:08PM +0000, Edd Barrett wrote: > Nice to see someone who says something constructive. Would you mind if > > > you can point me to a HOWTO on how to do that. I will be pleased to > > help. I supose that I must compile gnumeric with debugging simbols > > first, as someone stated before. And run gdb or ddd. > > > > Hi, > There is no howto, but I think I know how it is done. > > cd /usr/ports/math/gnumeric > make configure > cd w-gnumeric-x.x.x/gnumeric-x.x.x > vi Makefile > > Now you need to add in the -g switch to compile with symbols (as you > correctly stated). If you are lucky you will have a variable ${CC}, which > you can add the switch to.
Most ports support setting CFLAGS. cd /usr/ports/foo/bar env 'CFLAGS=-g -O0' make install Don't be surprised if '-O0' makes the bug dissappear.