This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: static executable bloat


hjl@lucon.org (H.J. Lu) writes:

> 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

With this approach no libc change would be necessary so it is of
course ok with me.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]