This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: -rdynamic and -static
- From: "H . J . Lu" <hjl at lucon dot org>
- To: Stéphane Doyon <s dot doyon at videotron dot ca>
- Cc: binutils at sources dot redhat dot com
- Date: Wed, 10 Apr 2002 09:15:29 -0700
- Subject: Re: -rdynamic and -static
- References: <Pine.LNX.4.44.0204100857450.12040-100000@odo.ds9.ufp>
On Wed, Apr 10, 2002 at 09:24:19AM -0400, Stéphane Doyon wrote:
> Hello,
>
> [Please Cc me as I am not subscribed.]
>
> Our software has modules that are implemented as shared libraries. But
> now there's a situation where we need it to be statically linked, and we
> can't figure out how to get it to work.
>
> The software is called BRLTTY; it drives braille displays. There is a
> central module that implements screen review functions, and there are
> several driver modules, one for each supported braille display model. The
> driver modules are implemented as shared libraries, so we can choose at
> run-ttime which one to use.
>
> Now we want to make an accessible boot diskettes / distribution
> installation diskettes. We link our main BRLTTY module statically,
> because we don't have a sufficiently small libc and friends.
>
Are you using glibc? You can customize my sglibc to strip out stuffs
you don't need. You may get glibc down to about 500KB or less.
H.J.