Patch: create a BUILD libiberty.a

Kaveh R. Ghazi ghazi@caip.rutgers.edu
Wed Feb 16 11:35:00 GMT 2000


 > From: Richard Henderson <rth@cygnus.com>
 > 
 > On Mon, Feb 14, 2000 at 03:00:36PM -0800, Geoff Keating wrote:
 > > egcs/i386-ibm-linux-gnu/libiberty
 > > egcs/sparc-sun-solaris2.6/libiberty
 > > egcs/powerpc-unknown-eabi/libiberty
 > > egcs/powerpc-unknown-eabi/soft-float/libiberty
 > > egcs/powerpc-unknown-eabi/ca/libiberty
 > > egcs/powerpc-unknown-eabi/ca/soft-float/libiberty
 > 
 > I like this a lot better than egcs/build-libiberty/ or whatever.
 > r~


The problem with this is that when host==build==target, you get
overlapping directory names.  Then multilibbing is hosed, especially
if you built host/build libiberty with cc because the Makefile will
think that the multilibbed target/libiberty is already built with the
gcc just bootstrapped, whereas in reality it was created with cc.

IMHO, the directory nameing issues is cosmetic.  Let's please get the
basic mechanism going, and if we want, we can easily replace the
pathname with $(build_canonical)/libiberty if someone can work out the
details of the conflicts I mentioned above.

		--Kaveh

PS: I'll shortly post a second version of my patch which I believe
will be ready for installation.
--
Kaveh R. Ghazi			Engagement Manager / Project Services
ghazi@caip.rutgers.edu		Qwest Internet Solutions


More information about the Gcc-patches mailing list