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

Ulrich Drepper drepper@redhat.com
24 Feb 2001 00:43:49 -0800


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

> If binutils and gcc are built with --build=i686-linux --host=i686-linux
> --target=hppa-linux --prefix=/usr, then it's correct to build glibc with
> --build=i686-linux --host=hppa-linux --prefix=/usr/hppa-linux because then
> "make install" will put glibc in the correct place for the cross tools.

Then how comes people install these binaries?  And even if not
installing, you possibly link against libc.a and get completely wrong
code.  This is not how you do it.

> Building glibc with --prefix=/usr then "make install_root=/usr/hppa-linux"
> doesn't put glibc in directories searched by the cross tools.

Then add the appropriate -L and -I.

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