This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Building toolchain libraries with debugging symbols


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]