This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: bfd.h installation location
- From: "Maciej W. Rozycki" <macro at ds2 dot pg dot gda dot pl>
- To: Alexandre Oliva <aoliva at redhat dot com>
- Cc: "H . J . Lu" <hjl at lucon dot org>, binutils at sources dot redhat dot com
- Date: Thu, 16 May 2002 15:22:43 +0200 (MET DST)
- Subject: Re: bfd.h installation location
- Organization: Technical University of Gdansk
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 +