[GRASS-dev] PATCH: debugging.txt

Any suggestions/objections to the attached patch?

--
Brad Douglas <rez touchofmadness com> KB8UYR
Address: 37.493,-121.924 / WGS84 National Map Corps #TNMC-3785

(attachments)

debug.diff (1.9 KB)

Brad Douglas wrote:

Any suggestions/objections to the attached patch?

+ * After running 'configure', include/Make/Platform.make should be
+ edited and append -pg to LINK_FLAGS

No need; just add -pg to LDFLAGS when running configure, e.g.

  CFLAGS='-pg -O2' LDFLAGS=-pg ./configure ...

--
Glynn Clements <glynn@gclements.plus.com>

On Fri, 2006-08-04 at 03:59 +0100, Glynn Clements wrote:

Brad Douglas wrote:

> Any suggestions/objections to the attached patch?

> + * After running 'configure', include/Make/Platform.make should be
> + edited and append -pg to LINK_FLAGS

No need; just add -pg to LDFLAGS when running configure, e.g.

  CFLAGS='-pg -O2' LDFLAGS=-pg ./configure ...

Ah! Thank you. That makes things a bit easier to document. Changes
attached.

--
Brad Douglas <rez touchofmadness com> KB8UYR
Address: 37.493,-121.924 / WGS84 National Map Corps #TNMC-3785

(attachments)

debug.diff (1.92 KB)