summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-07-28 16:32:06 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-07-28 16:32:06 +0200
commit7ea20f4ce252fe74e08f78d391ff13caee7cd50a (patch)
treed42991a61cbd572c8622dd755a4be460ec71a103
parent1da8a2aacfa6258f5917f0b04ca77e9462284c18 (diff)
Document how to build upstream glibc
-rw-r--r--hurd/glibc.mdwn20
1 files changed, 20 insertions, 0 deletions
diff --git a/hurd/glibc.mdwn b/hurd/glibc.mdwn
index 295afe2..0f5598a 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