summaryrefslogtreecommitdiff
path: root/hurd/glibc.mdwn
blob: 295afe215deae6f5ec5588e6190d4bffa470b488 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[[!meta copyright="Copyright © 2007, 2008, 2009, 2010, 2018 Free Software
Foundation, Inc."]]

[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable
id="license" text="Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU Free Documentation License, Version 1.2 or
any later version published by the Free Software Foundation; with no Invariant
Sections, no Front-Cover Texts, and no Back-Cover Texts.  A copy of the license
is included in the section entitled [[GNU Free Documentation
License|/fdl]]."]]"""]]

[[General_information|/glibc]] about the glibc.

For information about how the glibc integrates into the system, see sections
2.1 and 2.5 of the [[critique]].

[[Hurd-specific_API]].

[[Debugging_glibc|debugging/glibc]].


# Cross-building

The long-term goal is to get `build-many-glibcs.py` to be able to cross-compile
glibc. This should be working as per the following:

    $ mkdir -p /tmp/build/src
    $ cp -a /usr/src/glibc /tmp/build/src/
    $ unset CFLAGS
    $ /tmp/build/src/glibc/scripts/build-many-glibcs.py /tmp/build checkout binutils-2.29 gcc-7.1.0
    $ /tmp/build/src/glibc/scripts/build-many-glibcs.py /tmp/build host-libraries
    $ /tmp/build/src/glibc/scripts/build-many-glibcs.py /tmp/build compilers i686-gnu
    $ /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.