Building toolchain libraries with debugging symbols

Thomas De Schampheleire patrickdepinguin@gmail.com
Mon Feb 8 09:41:00 GMT 2016


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



More information about the crossgcc mailing list