]> git.ipfire.org Git - thirdparty/glibc.git/blame - ports/README
rename configure.in to configure.ac
[thirdparty/glibc.git] / ports / README
CommitLineData
effbd42a 1This is the glibc ports add-on, an add-on for the GNU C Library (glibc).
43d37683 2It contains code that is not maintained in the official glibc source tree.
717de822 3
43d37683
RM
4This includes working ports to GNU/Linux on some machine architectures that
5are not maintained in the official glibc source tree. It also includes
6some code once used by old libc ports now defunct, which has been abandoned
7but may be useful for some future porter to examine. It may also include
8some optimized functions tailored for specific CPU implementations of an
9architecture, to be selected using --with-cpu.
10
effbd42a
JM
11The ports add-on is cooperatively maintained by volunteers on the
12<libc-ports@sourceware.org> mailing list, and housed in the ports
13subdirectory of the glibc git repository. See
b3c737fd 14http://www.gnu.org/software/libc/download.html for details on using
effbd42a 15git. To report a bug in code housed in the ports add-on, please go to
d9814526
JM
16http://sourceware.org/bugzilla/ and file a bug report under the glibc
17"ports" component.
43d37683
RM
18
19An add-on for an individual port can be made from just the sysdeps/
20subdirectories containing the port's code. You may want to include a
21README and Banner of your own talking about your port's code in particular,
22rather than the generic ones here.
717de822
RM
23
24The real source code for any ports is found in the sysdeps/ subdirectories.
25These should be exactly what would go into the main libc source tree if you
26were to incorporate it directly. The only exceptions are the files
cb8a6dbd 27sysdeps/*/preconfigure and sysdeps/*/preconfigure.ac; these are fragments
717de822
RM
28used by this add-on's configure fragment. The purpose of these is to set
29$base_machine et al when the main libc configure's defaults are not right
30for some machine. Everything else can and should be done from a normal
31sysdeps/.../configure fragment that is used only when the configuration
32selects that sysdeps subdirectory. Each port that requires some special
33treatment before the sysdeps directory list is calculated, should add a
34sysdeps/CPU/preconfigure file; this can either be written by hand or
cb8a6dbd 35generated by Autoconf from sysdeps/CPU/preconfigure.ac, and follow the
717de822
RM
36rules for glibc add-on configure fragments. No preconfigure file should do
37anything on an unrelated configuration, so that disparate ports can be put
effbd42a 38into a single add-on without interfering with each other.
717de822 39
43d37683
RM
40Like all glibc add-ons, this must be used by specifying the directory in
41the --enable-add-ons option when running glibc's configure script.
717de822 42
e1102f72
JM
43The GNU C Library is free software. See the file COPYING.LIB in the
44libc repository for copying conditions, and LICENSES for notices about
45a few contributions that require these additional notices to be
46distributed. License copyright years may be listed using range
e6898b8d 47notation, e.g., 2000-2013, indicating that every year in the range,
e1102f72
JM
48inclusive, is a copyrightable year that would otherwise be listed
49individually.