-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Description
On linux, the resulting binaries are big. For instance the precompiled json gem is around 7MB big. This includes all the binaries that compose the fat gem. The reason its big is because of debugging symbols.
By stripping them LDDFLAGS="-s" we reduce the size of the gem to around 800KB.
That's what rake-compiler-dock do by default. However, stripping debugging symbols make it painful for gem maintainers to investigate a problem when a crash happens on a user machine and they a bug report.
Is it possible to reduce the size of the binaries without stripping debugging symbols ?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Give feedbackNo fields configured for issues without a type.