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: A static binary patch


> 
>    Date: Mon, 23 Aug 1999 18:36:53 -0700 (PDT)
>    From: hjl@varesearch.com (H.J. Lu)
> 
>    Here is a patch for glibc 2.2. It can be used to minimize the static
>    binary size together with the c_stubs addon. You can use
> 
>    # gcc -static ..... -lc_stubs
> 
>    It will stub out the gconv stuff. Not everything will work when
>    -lc_stubs is used. __libc_c_stubs is needed since we have to make
>    sure libcc_stubs.a is loaded even if nothing is referenced yet.
> 
> Doesn't 
> 
>    # gcc -static ..... -( -lc_stubs -lc -)
> 
> work without the __libc_c_stubs hack?
> 

I removed it in my second patch.

-- 
H.J. Lu (hjl@gnu.org)

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