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: Alan Modra <amodra at bigpond dot net dot au>
- Cc: Alexandre Oliva <aoliva at redhat dot com>, "H . J . Lu" <hjl at lucon dot org>, binutils at sources dot redhat dot com
- Date: Thu, 16 May 2002 15:17:52 +0200 (MET DST)
- Subject: Re: bfd.h installation location
- Organization: Technical University of Gdansk
On Wed, 15 May 2002, Alan Modra wrote:
> OK, getting back to this problem. The only reasonable solutions I see
> are to a) only install libbfd.a and headers when host == target, or
> b) install normally when host == target, and install as
> $target_alias-libbfd.a and $target_alias-bfd.h etc. otherwise.
> Case b) is similar to the way we install tools like objdump.
How about c) use ${prefix} when host == target, otherwise
${prefix}/${target_alias}/${host_alias}? It seems to work fine for me for
over two years now.
--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: macro@ds2.pg.gda.pl, PGP key available +