This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [RFC] BFD library installation
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: "Svein E. Seldal" <Svein dot Seldal at solidas dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Mon, 3 Mar 2003 09:30:53 +1030
- Subject: Re: [RFC] BFD library installation
- References: <3E622725.1040306@solidas.com>
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