Where should libiberty.a be installed? (addendum)

IainS developer@sandoe-acoustics.co.uk
Tue Jun 3 17:19:00 GMT 2008


On 3 Jun 2008, at 16:53, Brian Dessent wrote:

> IainS wrote:
>
>> That way the user can keep track of which version is being linked.
>
> But you're missing the point: this copy that is installed is the
> host-libiberty not the target-libiberty.

FWIW: (on 4.2.4 - which I had to hand ...)
[ host=build=target ]

the following instructions result in ==>

make install:
	usr/lib/libiberty.a
	usr/lib/ppc64/libiberty.a

make install-gcc:
	--

make install-host:
	usr/libiberty.a

make install-target:
	usr/lib/libiberty.a
	usr/lib/ppc64/libiberty.a

make install-html:
	usr/share/doc/libiberty.html


So ... it seems that the build process treats libiberty as both a  
target multilib and a host lib.

Iain



More information about the Gcc-help mailing list