README
author "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
Thu Jul 28 22:09:31 2011 +0200 (2011-07-28)
changeset 2573 424fa2092ace
parent 1575 eb92c99b17cd
child 2725 32aa23619dfd
permissions -rw-r--r--
scripts/libc: do not build add-ons by default

Currently, no --enable-add-ons option is passed to libc configure when
"$(do_libc_add_ons_list ,)" is empty, which makes configure automatically search
for present add-ons. In that case, all present add-ons are built, although
no add-on was selected by the user in the config. Moreover, this can make the
configure fail if some non-standard add-ons like eglibc-localedef are present.

This behavior also leads to an inconsistency from a user point of view between
the following cases:
- LIBC_ADDONS_LIST="", LIBC_GLIBC_USE_PORTS=n and THREADS="none" in the config,
which makes "$(do_libc_add_ons_list ,)" return "", so all present add-ons
are built.
- LIBC_ADDONS_LIST="", LIBC_GLIBC_USE_PORTS=n and THREADS!="none" in the
config, which makes "$(do_libc_add_ons_list ,)" return the add-on supporting
the chosen threading implementation, e.g. "nptl", so only this add-on is
built.

This patch disables the building of all add-ons in that case.

It is still possible to build all present add-ons by adding --enable-add-ons to
LIBC_GLIBC_EXTRA_CONFIG_ARRAY.

Signed-off-by: "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
yann@1
     1
This is the README for crosstool-NG
yann@1
     2
yann@2091
     3
Crosstool-NG follows the autoconf dance. So, to get you
yann@2091
     4
kick-started, just run:
yann@185
     5
  ./configure --help
yann@1
     6
yann@2091
     7
You will find the documentation in the directory 'docs'.
yann@2091
     8
Here is a quick overview of what you'll find there:
yann@2091
     9
  0 - Table of content
yann@2091
    10
  1 - Introduction
yann@2091
    11
  2 - Installing crosstool-NG
yann@2091
    12
  3 - Configuring a toolchain
yann@2091
    13
  4 - Building the toolchain
yann@2091
    14
  5 - Using the toolchain
yann@2091
    15
  6 - Toolchain types
yann@2091
    16
  7 - Contributing
yann@2091
    17
  8 - Internals
yann@2091
    18
  A - Credits
yann@2091
    19
  B - Known issues
yann@2091
    20
  C - Misc. tutorials
yann@1
    21
yann@1575
    22
You can also point your browser at:
yann@1463
    23
  http://ymorin.is-a-geek.org/projects/crosstool
yann@96
    24
yann@185
    25
Aloha!