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]
Other format: [Raw text]

Re: bfd.h installation location


On 15 May 2002, Alexandre Oliva wrote:

> > It doesn't help when --enable-shared is used. I don't mind
> > libbfd-target-version.so myself.
> 
> Hmm...  Good point, we can't just refrain from installing libbfd.la,
> in case it is built as a shared library and other installed programs
> are linked with it.

 RPATH works just fine out of the box:

$ readelf -d /usr/mipsel-linux/bin/ld | head

Dynamic segment at offset 0x47a08 contains 22 entries:
  Tag        Type                         Name/Value
 0x00000001 (NEEDED)                     Shared library: [libbfd-2.12.so]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x0000000f (RPATH)                      Library rpath: [/usr/mipsel-linux/i386-linux/lib]
 0x0000000c (INIT)                       0x8049e40
 0x0000000d (FINI)                       0x80705d0
 0x00000004 (HASH)                       0x8048128
 0x00000005 (STRTAB)                     0x8048f6c

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +


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