diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-07-28 16:32:06 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-07-28 16:32:06 +0200 |
commit | 7ea20f4ce252fe74e08f78d391ff13caee7cd50a (patch) | |
tree | d42991a61cbd572c8622dd755a4be460ec71a103 /hurd/glibc.mdwn | |
parent | 1da8a2aacfa6258f5917f0b04ca77e9462284c18 (diff) |
Document how to build upstream glibc
Diffstat (limited to 'hurd/glibc.mdwn')
-rw-r--r-- | hurd/glibc.mdwn | 20 |
1 files changed, 20 insertions, 0 deletions
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 |