R
Richard Heathfield
(e-mail address removed) said:
That was deliberate. In each case, I just banged out a command line from
memory, making no particular attempt to minimise the size. I was after the
default picture, so to speak.
I was surprised at just how much the Linux gcc version got crunched - even
with static linking - when I told gcc I cared about size. And then
stripping the binary yielded even more savings.
While I've not checked all of these, it's likely that all of the above
with large executables were doing static links of the CRT.
That was deliberate. In each case, I just banged out a command line from
memory, making no particular attempt to minimise the size. I was after the
default picture, so to speak.
I was surprised at just how much the Linux gcc version got crunched - even
with static linking - when I told gcc I cared about size. And then
stripping the binary yielded even more savings.