[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: binutils-dev dependency problem...



On Wed, 11 Sep 2002, Mark Brown wrote:

> On Wed, Sep 11, 2002 at 10:33:47AM +0200, Adam Byrtek wrote:
>
> > Isn't there any other solution?? I don't want to link ncurses, libc,
> > readline etc staticaly if it isn't neccessary:
>
> You can arrange to link only some libraries statically with the use of
> -Wl,-Bstatic and -Wl,-Bdynamic around the -l options for the libraries
> you wish to be static.

For an example, dpkg does this for zlib(ie, current versions don't call
external gzip(exec), but link against just zlib statically).



Reply to: