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: [RFC] BFD library installation


On Sun, Mar 02, 2003 at 04:45:41PM +0100, Svein E. Seldal wrote:
> What is the exact motivation behind...
> 1) ... not installing libbfd.a per default when compiling cross targets.
> 2) ... installing the bfd library under a machine-specific directory.

The reason is that libbfd.a is both host and target specific, being
code compiled for the host to support the target.  Thus the motivation
for 1) is that we didn't want to overwrite the native libbfd.a (at one
stage libbfd.a installed to $prefix/lib regardless of target), and the
answer to 2) is to allow different host/target dependent libs to
coexist on a system.  I'll admit the scheme could well be improved,
eg. --enable-targets=all --enable-64-bit-bfd is hardly target
dependent.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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