]> sourceware.org Git - glibc.git/blame - README
2008-02-22 Carlos O'Donell <carlos@codesourcery.com>
[glibc.git] / README
CommitLineData
43d37683
RM
1This is the glibc ports repository, an add-on for the GNU C Library (glibc).
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
11The ports repository is cooperatively maintained by volunteers on the
12<libc-ports@sourceware.org> mailing list, and housed in the glibc CVS as a
13module called "ports". See http://www.gnu.org/software/libc/resources.html
14for details on using CVS. To report a bug in code housed in the ports
15repository, please go to http://sources.redhat.com/bugzilla/ and file a bug
16report under the glibc "ports" component.
17
18An add-on for an individual port can be made from just the sysdeps/
19subdirectories containing the port's code. You may want to include a
20README and Banner of your own talking about your port's code in particular,
21rather than the generic ones here.
717de822
RM
22
23The real source code for any ports is found in the sysdeps/ subdirectories.
24These should be exactly what would go into the main libc source tree if you
25were to incorporate it directly. The only exceptions are the files
26sysdeps/*/preconfigure and sysdeps/*/preconfigure.in; these are fragments
27used by this add-on's configure fragment. The purpose of these is to set
28$base_machine et al when the main libc configure's defaults are not right
29for some machine. Everything else can and should be done from a normal
30sysdeps/.../configure fragment that is used only when the configuration
31selects that sysdeps subdirectory. Each port that requires some special
32treatment before the sysdeps directory list is calculated, should add a
33sysdeps/CPU/preconfigure file; this can either be written by hand or
34generated by Autoconf from sysdeps/CPU/preconfigure.in, and follow the
35rules for glibc add-on configure fragments. No preconfigure file should do
36anything on an unrelated configuration, so that disparate ports can be put
37into a single add-on without interfering with each other.
38
43d37683
RM
39Like all glibc add-ons, this must be used by specifying the directory in
40the --enable-add-ons option when running glibc's configure script.
717de822
RM
41
42
43$Id$
This page took 0.034 seconds and 5 git commands to generate.