This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


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

Re: DT_NEEDED


On Fri May 18 11:39:11 2001 Mark Kettenis <kettenis@science.uva.nl> wrote :
> > 
> > gcc -L/full/path/to -shared -o libfoo.so foo.c -la  -lb
> > 
> > but got the full path of liba.so and libb.so listed in the dependency
> > list of libfoo.so.
> 
> Are you sure that the second example does indeed encode the full
> pathname?  I just did something similar with GNU ld (a recent CVS version) on
> Solaris and it seems to work for me, that is, the full pathname isn't
> encoded in the DT_NEEDED entry.

As you may have noticed, I have corrected myself in an earlier
mail sent to the binutils list as I found that the linker behaves 
correctly using the command-line args. -L and -l. I erred in
my previous tests.

Sorry about the confusion.

Regards, 

Bharadwaj


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