Re: Partial autoconf transition thoughts

Maciej W. Rozycki
2003-06-12T12:26:30Z

On Thu, 12 Jun 2003, Bernd Jendrissek wrote:

> > But libbfd is target-specific, so you can't install it directly in
>
> That sounds like an artificial limitation. Maybe it works best in
> single-target configuration, but I've been using it with --enable-targets=all
> for the last year or two.

Not a limitation, but a configuration choice. I don't want to enable all
targets and I want to keep all target configurations self contained --
suitable for binary packaging.

> > $exec_prefix/$target_alias/$host_alias/lib. Of coures neither
> > $exec_prefix/lib nor $exec_prefix/$target_alias/lib can be used as they
> > (may) hold other versions of libbfd and $exec_prefix/$host_alias cannot
> > be, either, as it would work for a single target only.
>
> What's wrong with $exec_prefix/$target_alias/lib? What "other" versions
> of libbfd?

That's the place for libbfd for the host, e.g. assuming the build system
is i386-linux:

- $exec_prefix/lib/libbfd.la: i386-linux host binary for i386-linux
target,

- $exec_prefix/alpha-linux/lib/libbfd.la: alpha-linux host binary for
alpha-linux target,

- $exec_prefix/i386-linux/alpha-linux/lib/libbfd.la: i386-linux host
binary for alpha-linux target,

- $exec_prefix/i386-linux/mipsel-linux/lib/libbfd.la: i386-linux host
binary for mipsel-linux target

- $exec_prefix/mipsel-linux/lib/libbfd.la: mipsel-linux host binary for
mipsel-linux target.

> Again, $exec_prefix/lib works just fine here with --enable-targets=all'ed
> binutils.

I suppose so, but I don't want such a configuration.

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