diff options
Diffstat (limited to 'hurd/debugging')
-rw-r--r-- | hurd/debugging/glibc.mdwn | 31 |
1 files changed, 30 insertions, 1 deletions
diff --git a/hurd/debugging/glibc.mdwn b/hurd/debugging/glibc.mdwn index 14140fdb..71e027d2 100644 --- a/hurd/debugging/glibc.mdwn +++ b/hurd/debugging/glibc.mdwn @@ -1,4 +1,4 @@ -[[!meta copyright="Copyright © 2007, 2008, 2010, 2011, 2013 Free Software +[[!meta copyright="Copyright © 2007, 2008, 2010, 2011, 2013, 2016 Free Software Foundation, Inc."]] [[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable @@ -35,6 +35,35 @@ There is a list of [[known failures|open_issues/glibc]]. --- +When building the debian glibc, to save yourself a double-compilation, comment +in debian/sysdeps/hurd-i386.mk the lines about xen. Then to avoid the whole +testsuite, use: + + DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage + +To save even more build, stop the build after configure has run, and then you +can restart the build of only libc.so and libc.a with: + + cd build-tree/hurd-i386-libc + make lib + +or of only libc.so with: + + make objdir=$PWD/build-tree/hurd-i386-libc $PWD/build-tree/hurd-i386-libc/libc.so + +or of the whole tree with: + + cd build-tree/hurd-i386-libc + make + +or of just one subdir with for instance: + + make subdir=libpthread -C libpthread ..=../ objdir=$PWD/build-tree/hurd-i386-libc + +(note that most subdirs need libc.so built) + +--- + If you've been doing simple changes to glibc functions that end up in `libc.so`, you may test them like this (like for a `strerror_l` implementation in this case): |