This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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: Where should libiberty.a be installed? (addendum)



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


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