Go to file
Roland McGrath 7381e0b953 .
2006-01-06 10:50:50 +00:00
bare Generic strtsupp.c. 2005-12-14 11:16:23 +00:00
sysdeps 2006-01-06 Roland McGrath <roland@redhat.com> 2006-01-06 10:50:45 +00:00
.cvsignore add it 2004-10-23 04:33:14 +00:00
Banner 2004-08-04 Roland McGrath <roland@frob.com> 2004-08-05 03:46:43 +00:00
ChangeLog . 2005-05-24 06:13:06 +00:00
ChangeLog.aix . 2005-12-28 05:47:16 +00:00
ChangeLog.am33 . 2005-12-28 05:47:16 +00:00
ChangeLog.arm . 2005-12-28 05:47:16 +00:00
ChangeLog.cris . 2005-12-28 05:47:16 +00:00
ChangeLog.powerpc . 2006-01-06 10:50:50 +00:00
configure 2004-10-22 Roland McGrath <roland@frob.com> 2004-10-23 03:04:33 +00:00
configure.in 2004-10-22 Roland McGrath <roland@frob.com> 2004-10-23 03:04:33 +00:00
Makeconfig 2004-10-22 Roland McGrath <roland@frob.com> 2004-10-23 04:07:06 +00:00
Makefile 2005-03-22 Roland McGrath <roland@redhat.com> 2005-05-24 06:13:03 +00:00
README 2004-08-04 Roland McGrath <roland@frob.com> 2004-08-05 03:46:43 +00:00

This directory is an add-on for the GNU C Library (glibc).
It provides additional ports to machines and/or operating systems that are
not maintained in the official glibc source tree.

The scripts in the top level of this directory provide the infrastructure
necessary for a glibc add-on.  You can make a new add-on containing one or
more ports by copying configure, configure.in, and Makeconfig into your own
add-on directory, which you can give any name (it doesn't have to be
`ports').  You may want to include a README and Banner of your own talking
about your port's code in particular, rather than the generic ones here.

The real source code for any ports is found in the sysdeps/ subdirectories.
These should be exactly what would go into the main libc source tree if you
were to incorporate it directly.  The only exceptions are the files
sysdeps/*/preconfigure and sysdeps/*/preconfigure.in; these are fragments
used by this add-on's configure fragment.  The purpose of these is to set
$base_machine et al when the main libc configure's defaults are not right
for some machine.  Everything else can and should be done from a normal
sysdeps/.../configure fragment that is used only when the configuration
selects that sysdeps subdirectory.  Each port that requires some special
treatment before the sysdeps directory list is calculated, should add a
sysdeps/CPU/preconfigure file; this can either be written by hand or
generated by Autoconf from sysdeps/CPU/preconfigure.in, and follow the
rules for glibc add-on configure fragments.  No preconfigure file should do
anything on an unrelated configuration, so that disparate ports can be put
into a single add-on without interfering with each other.

Like all glibc add-ons, the only way to use this is to place this directory
(just a symlink won't do) inside the top-level glibc source directory.
Then include the name of this directory (e.g. `ports') when you specify
`--enable-add-ons=...' to glibc's configure (or use just --enable-add-ons
to have it try every add-on directory sitting in your source tree).

If you find problems with the top-level scripts in this add-on, please go
to http://sources.redhat.com/bugzilla/ and file a report for the glibc
under the "admin" component.


$Id$