public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
From: Thomas De Schampheleire <patrickdepinguin@gmail.com>
To: crossgcc maillist <crossgcc@sourceware.org>
Subject: Building toolchain libraries with debugging symbols
Date: Mon, 08 Feb 2016 09:41:00 -0000	[thread overview]
Message-ID: <CAAXf6LXikajVquCr83biC+MeQR8GCgynKJFp-=KXLZwaWzjS0Q@mail.gmail.com> (raw)

Hello,

What is the 'correct' way to make sure that the libraries of the
toolchain (most importantly libc but possibly others) contain
debugging symbols, so that debugging an application linked to these
libraries works as expected?

Toolchains provided by external vendors are configured as such, but it
seems that crosstool-ng by default does not.

We did not find a global setting for this. As a workaround we applied
the following:

CT_LIBC_GLIBC_EXTRA_CFLAGS="-g"

but it is unclear if this is the 'correct' way or not.

Thanks,
Thomas

--
For unsubscribe information see http://sourceware.org/lists.html#faq

             reply	other threads:[~2016-02-08  9:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-08  9:41 Thomas De Schampheleire [this message]
2016-03-03 19:26 ` Thomas De Schampheleire
2016-03-03 23:26   ` Bryan Hundven
2016-03-04  1:03     ` Bryan Hundven

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='CAAXf6LXikajVquCr83biC+MeQR8GCgynKJFp-=KXLZwaWzjS0Q@mail.gmail.com' \
    --to=patrickdepinguin@gmail.com \
    --cc=crossgcc@sourceware.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).