summaryrefslogtreecommitdiff
path: root/hurd/debugging
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2016-06-08 10:46:05 +0200
committerThomas Schwinge <thomas@codesourcery.com>2016-06-08 10:46:05 +0200
commit0d9f8a5a6246924c5ac6f79cedd507b74477f06e (patch)
treebb6a6b35b410e5e3918f323c93cd633c1ddd2fc5 /hurd/debugging
parent746526de5f196f8b7e6ba6e0e297fa501b66aa9d (diff)
parente25d4ea07b09e7e6df61777988c1fc104f0a538e (diff)
Merge commit 'e25d4ea07b09e7e6df61777988c1fc104f0a538e'
Diffstat (limited to 'hurd/debugging')
-rw-r--r--hurd/debugging/glibc.mdwn31
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):