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

Re: binutils-dev dependency problem...



On Wed, 11 Sep 2002, Daniel Jacobowitz wrote:

> On Wed, Sep 11, 2002 at 10:14:44AM +0100, 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.
>
> Or by linking to libbfd.a explicitly instead of -lbfd.

But that requires knowing the location of libbfd.a, whereas -lbfd searches for
you.



Reply to: