From: Daniel Vrcic <daniel.vrcic@si.htnet.hr>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: OT: Compiling non-portage app for gdb
Date: Sun, 4 Sep 2005 10:15:41 +0200 [thread overview]
Message-ID: <20050904081541.GA3859@ipanema.org> (raw)
In-Reply-To: <5bdc1c8b05090215231cef7edc@mail.gmail.com>
* 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
prev parent reply other threads:[~2005-09-04 8:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-02 22:23 [gentoo-user] OT: Compiling non-portage app for gdb Mark Knecht
2005-09-04 8:15 ` Daniel Vrcic [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050904081541.GA3859@ipanema.org \
--to=daniel.vrcic@si.htnet.hr \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox