2 ms·
All binaries on a classic Linux distro are stripped (you can use 'file' to quickly check some), so your issues might be worth reporting
by champtar 3y ago
All binaries on a classic Linux distro are stripped (you can use 'file' to quickly check some), so your issues might be worth reporting
- dataflow 3y agoStripped via -s or via strip?
- kelnos 3y agoI never understood why strip's "--strip-unneeded" flag wasn't the default. Leaving that out can often enough give you a binary that just doesn't work.
- dataflow 3y agoYup that's exactly what I mean. Nobody ever mentions that flag when recommending stripping, and it's frustrating when you realize it's broken. It's been a few years, but even when I finally discovered and tried that flag, it still didn't quite do the right thing. Either it failed to strip stuff that -s stripped, or it still produced a binary that didn't work... I forget what exactly the issue was. I just remember failing to find an alternative to cc -s that was guaranteed to work.