From 7ea20f4ce252fe74e08f78d391ff13caee7cd50a Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 28 Jul 2018 16:32:06 +0200 Subject: Document how to build upstream glibc --- hurd/glibc.mdwn | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/hurd/glibc.mdwn b/hurd/glibc.mdwn index 295afe21..0f5598a2 100644 --- a/hurd/glibc.mdwn +++ b/hurd/glibc.mdwn @@ -33,3 +33,23 @@ glibc. This should be working as per the following: $ /tmp/build/src/glibc/scripts/build-many-glibcs.py /tmp/build glibcs i686-gnu Currently the master branch builds that way without any testsuite issue. + +# Building + +One of the tests really put boxes on its knees: + + $ echo "tests-unsupported += test-lfs" >> sysdeps/mach/hurd/i386/Makefile + +One can build libc this way: + + $ mkdir build + $ cd build + $ unset CFLAGS + $ ../configure --prefix=/usr + $ make + $ make -C ../iconvdata objdir=$PWD subdir=iconvdata ..=../ $PWD/iconvdata/gconv-modules + $ make check -k + +One can run tests with the new libc by hand: + + $ ./testrun.sh ~/test -- cgit v1.2.3