Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strip target libraries #1988

Open
mid-kid opened this issue Jul 12, 2023 · 2 comments
Open

Strip target libraries #1988

mid-kid opened this issue Jul 12, 2023 · 2 comments

Comments

@mid-kid
Copy link
Contributor

mid-kid commented Jul 12, 2023

What it says on the tin. Few people need the debug information for e.g. newlib, glibc, or mingw. It takes up a significant amount of space and could do with being stripped out.

@cpackham
Copy link
Contributor

Sounds like a reasonable request. We do already have GLIBC_ENABLE_DEBUG (enabled by default) similar settings for newlib, musl and mingw would be welcome. As for flipping the default that would need a bit of co-ordination (e.g. after a release).

@milkylainen
Copy link

Usually, stripping libraries and binares in embedded is done by the build environment or build rules.
There are a few bits that might not get stripped, so this feature is handy anyway.
I use it mostly to reduce the actual toolchain footprint.
I have a lot of toolchains and a lot of clean-building. For me, copying less data to the clean builds helps build times and storage space, ever so slightly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants