DBX

Hello,

I am programming a tool for routing within GRASS... I have no compilation errors, and "minor" lint errors... When I run the tool, it dumps a core.

I can't run dbx inside Grass4.1... any suggestion?! :-((

^Angela

thank you very much...

---------

-------------------------------
--------------------------------
^Angela Guimaraes Pereira

e-mail:
angela.pereira@cen.jrc.it

Joint Research Centre - E.U.
Technology Assessment Sector
TP 650
21020 Ispra (VA)
Italy

Angela Pereira (angela.pereira@cen.jrc.it) writes on 20 Jun 94:

Hello,

I am programming a tool for routing within GRASS... I have no compilation errors, and "minor" lint errors... When I run the tool, it dumps a core.

I can't run dbx inside Grass4.1... any suggestion?! :-((

^Angela

[I'm CC'ing grassp because this is not obvious to someone who
hasn't fiddled with gmake much --jdm]

if you simply cp'ed a Gmakefile to use as a template, then
you may have noticed that the -s option is used when linking
(which strips the symbols). To get around this, I usually
define the following in my Gmakefiles:

COMPILE_FLAGS = -g
EXTRACFLAGS =
LDFLAGS =

This will at least let you look at your own code with dbx. If you really
feel that there may be a problem with a grass library function,
you can do something similar in the library directory and re-create
the archive in question.

--Darrell