On Sun, Oct 6, 2013 at 1:54 PM, Keith Marshall wrote:
> On 06/10/13 15:02, asmwarrior wrote:
>> On 2013-10-1 23:30, asmwarrior wrote:
>>> Hi, I download the mingw-get-setup.exe, and install three packages:
>>> 1, mingw32-base bin
>>> 2, mingw32-c++ bin 4.8.1-3
>>> 3, mingw32-c++ dev 4.8.1-3 (this is automatically select after I
>>> select the previous package)
>>> I found that the gdb.exe is 27.878KB, do you forget to strip the
>>> debug information after building the GDB? There are some other exe
>>> files which is quite large, e.g. size.exe is 7.2M, I think their
>>> size is also not correct, it should be less than 2 or 3M.
>> Ping, all you guys do not have this issue?
> Why is it an issue? Sure, the binaries may be burdened with debug
> information, but some users might argue that this is a *good* feature.
> If you don't like it, you can always strip it out of your own copy; if
> we strip it up front, then like it or not, it's gone for everyone.
> Agreed, if you're challenged by poor internet bandwidth, you may prefer
> to not have to download the larger binaries. In case you may not have
> guessed, I'm playing devil's advocate here; we cannot please all of the
> people all of the time.
This was the answer I started to give but it was stripped before so I
will remove the debug info from the executables and libraries before
shipping it with LDFLAGS=-s. If the package doesn't honor that
configuration argument, I'm not going out of my way to strip them.