* [gentoo-user] OT: Compiling non-portage app for gdb
@ 2005-09-02 22:23 Mark Knecht
2005-09-04 8:15 ` [gentoo-user] " Daniel Vrcic
0 siblings, 1 reply; 2+ messages in thread
From: Mark Knecht @ 2005-09-02 22:23 UTC (permalink / raw
To: gentoo-user
Hi,
Can someone suggest how a non-programmer can compile a non-portage
app to run in gdb so that I can get a trace of a segfault? I have the
code. It compiles and segfaults on my AMD64 machine. I'd like to send
the developers some debug data.
Thanks,
Mark
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-user] Re: OT: Compiling non-portage app for gdb
2005-09-02 22:23 [gentoo-user] OT: Compiling non-portage app for gdb Mark Knecht
@ 2005-09-04 8:15 ` Daniel Vrcic
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Vrcic @ 2005-09-04 8:15 UTC (permalink / raw
To: gentoo-user
* Mark Knecht <markknecht@gmail.com> [05-09-03 11:47]:
> Hi,
> Can someone suggest how a non-programmer can compile a non-portage
> app to run in gdb so that I can get a trace of a segfault? I have the
> code. It compiles and segfaults on my AMD64 machine. I'd like to send
> the developers some debug data.
You should have shell's CFLAGS and CXXFLAGS environment variables
declared. Those variables are being read and parsed by gcc upon some
manual compiling of source code. They should contain gcc's "-ggdb"
argument which actually tells gcc to build a code with debugging
symbols.
--
Daniel Vrcic
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-09-04 8:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-02 22:23 [gentoo-user] OT: Compiling non-portage app for gdb Mark Knecht
2005-09-04 8:15 ` [gentoo-user] " Daniel Vrcic
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox