1 file: libstdc++-v3/README
3 New users may wish to point their web browsers to the file documentation.html
4 in the 'docs/html' subdirectory. It contains brief building instructions and
5 notes on how to configure the library in interesting ways.
8 Instructions for configuring and building this snapshot appear
9 in docs/html/install.html.
11 This directory contains the files needed to create [a still broken
12 subset of] an ISO Standard C++ Library.
14 It has subdirectories:
17 Files in HTML and text format that document usage, quirks of the
18 implementation, and contributor checklists.
21 Files included by standard headers and by other files in
22 the bits directory. Includes a set of files bits/std_xxxx.h
23 that implement the standard headers <xxxx>.
26 Files meant to be found by #include <name> directives in
27 standard-conforming user programs. These headers are not
28 referred to by other headers, because such dependencies
29 confuse Make (leading it to delete them, all too often).
30 Installations may substitute symbolic links in place of
34 Headers that define extensions to the standard library. No
35 standard header refers to any of them.
38 Headers provided for backward compatibility, such as <iostream.h>.
39 They are not used in this library.
42 Headers intended to shadow standard C headers provided by an
43 underlying OS or C library, and other headers depended on directly
44 by C++ headers (e.g. unistd.h). These are meant to wrap the names
45 defined there into the _C_legacy namespace.
46 [NB: this can be enabled via --enable-cheaders=c_shadow]
49 Headers intended to directly include standard C headers.
50 [NB: this can be enabled via --enable-cheaders=c]
53 Headers intended to include standard C headers, and put select
54 names into the std:: namespace.
55 [NB: this is the default, and is the same as --enable-cheaders=c_std]
58 Files that are used in constructing the library, but are not
61 testsuites/17_* to 27_*
62 Test programs are here, and may be used to begin to exercise the
63 library. Support for "make check" and "make check-install" is
64 complete, and runs through all the subdirectories here when this
65 command is issued from the build directory. Please note that
66 "make check" calls the script mkcheck, which requires bash, and which
67 may need the paths to bash adjusted to work properly, as /bin/bash is
70 Other subdirectories contain variant versions of certain files
71 that are meant to be copied or linked by the configure script.
77 Files needed only to construct the library, but not installed,
78 are in src/. Files to be copied as part of an installation are
79 all found in the subdirectories mentioned above. (A configure
80 script may link files from another directory into one of these.)
82 In a normal installation the bits/ directory is copied
83 under the std/ directory, and arranged to be searched only
84 when an include directive specifies a filename of "bits/..."
85 or <bits/...>. When building the library, we use
87 -I. -Iinclude/std -Iinclude -Iconfig/os/* -Iconfig/cpu/*
89 to get the same effect.
91 Note that glibc also has a bits/ subdirectory. We will either
92 need to be careful not to collide with names in its bits/
93 directory; or rename bits to (e.g.) cppbits/.
95 To install libstdc++ you need GNU make. The makefiles do not work with
98 In files throughout the system, lines marked with an "XXX" indicate
99 a bug or incompletely-implemented feature. Lines marked "XXX MT"
100 indicate a place that may require attention for multi-thread safety.