[parisc-linux] Initial setup of the `glibc' in the target rootfile system

Ulrich Drepper drepper@redhat.com
24 Feb 2001 00:04:10 -0800


Alan Modra <alan@linuxcare.com.au> writes:

>   The "strange" build instructions come from people trying to use glibc
> built for a cross-compiling environment, in a native environment too.

I've done this more often myself than all the people here together and
never did something like this.

> Oh, and for the benefit of the list, Ulrich is talking about native
> builds.  This ought to be obvious, but _DO NOT_ build glibc for a
> cross-compiling environment with --prefix=/usr.

Of course you do.  If the library is later used in /usr you have to do
this.  Don't put words in my mouth I didn't say.

> If you install it, you'll blow away your system libs.  hppa-linux
> libraries tend to not run very well on x86.

No, you're not.  This is what the install_root variable is for.  If
you want to be sure you are not doing something stupid don't run `make
install' as root, simply make the directories below that pointed to by
install_root writable for yourself.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------