==================== Relinking libroot.so ==================== To build glibc from source and relink libroot.so, you need the following files: glibc-src.tgz headers-src.tgz infra-src.tgz libroot-obj.tgz libroot-link.sh Create a root directory for the build, where all the archives will be unpacked, and copy libroot-link.sh to that directory: $ mkdir /tmp/buildhome $ cp /some/path/libroot-link.sh /tmp/buildhome/libroot-link.sh $ cd /tmp/buildhome This step is a hack to work around what may be a bug in tar extracting archives containing files with '..' in the pathname: $ mkdir -p gnupro/bin/../lib/gcc-lib/i586-beos/2.9-beos-991026 Unpack the four tgz archives in the build root directory: $ tar -xzf /some/path/glibc-src.tgz $ tar -xzf /some/path/headers-src.tgz $ tar -xzf /some/path/infra-src.tgz $ tar -xzf /some/path/libroot-obj.tgz Source the "setup.sh" file to set up some needed environment variables: $ source setup.sh Build the glibc objects: $ cd src/kit/glibc $ make -kw nodll 2>&1 | tee make.log Relink libroot.so: $ cd /tmp/buildhome $ sh libroot-link.sh