static executable bloat

Philip Blundell Philip.Blundell@pobox.com
Sun Aug 22 11:05:00 GMT 1999


>May I ask if it is ok to add some flags to get a smaller static
>binary without gconv and/or wchar support? I am thinking to write
>libNoGconv.a and libNoWchar.a. People can stub out gconv and/or wchar
>with
>
># gcc -static .... -lNoGconv -lNoWchar
>
>Will that work for people who want smaller static binaries or do you
>want smaller static binaries with supports for everything?

That would certainly have been OK for my situation.  I think that if you want 
smaller binaries you have to be prepared to sacrifice some functionality.

p.




More information about the Libc-hacker mailing list