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

Ulrich Drepper drepper@redhat.com
23 Feb 2001 23:42:56 -0800


"Rafael E. Herrera" <raffo@neuronet.pitt.edu> writes:

> export MACH=i386-linux
> export DEST=/usr
> export ROOT=~/parisk
> 
> HOSTCC=gcc CC=hppa-linux-gcc $ROOT/source/glibc/configure \
> --prefix=$DEST --build=$MACH \
> --host=hppa-linux --target=hppa-linux \
> --with-headers=$ROOT/source/linux/include --disable-profile \
> --without-cvs --enable-add-ons

This looks OK (though providing HOSTCC shouldn't be necessary) and
--build, --host, and --target have no effect.  The configure script
will pick up all it has to know from the CC value.

> make MAKE="make -j 10" user-defined-trusted-dirs=/lib

Providing make isn't necessary.  Also, the `user-defined-trusted-dirs'
is not needed.  Just run

   make -j10

> make install user-defined-trusted-dirs=/lib \
>  install_root=/tmp/glibc

Again, loose the `user-defined-trusted-dirs'.  Also, is /tmp/glibc
where the nfsroot is picked up?  If not, just install in the nfsroot
directory.

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